Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository
  • go
  • src
  • pkg
  • csv
  • reader.go
Find file BlameHistoryPermalink
  • Paul Borman's avatar
    csv: fix issue 2366 - overly aggressive TrimLeadingSpace · eea86de6
    Paul Borman authored Oct 17, 2011
    Address the issue coalescing two records together when TrimLeadingSpace
    is set to true.
    
    The input
    
            a,b,
            c,d,e
    
    Would result with a singled a,b,c,d,e record.
    With TrailingComma set to true it should give two records.
    With TrailingComma set to false it should be an error.
    
    Fixes #2366.
    
    R=golang-dev, go.peter.90, r
    CC=golang-dev
    https://golang.org/cl/5284046
    eea86de6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7