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
  • encoding
  • json
  • example_test.go
Find file BlameHistoryPermalink
  • Iccha Sethi's avatar
    encoding/json: fix indentation in Decode stream example · ba6cd156
    Iccha Sethi authored Jul 15, 2017
    The existing example for Decoder.Decode (Stream) had excessive
    indentation in the godoc interface for the const jsonStream,
    making it hard to read. This fixes the indentation in the
    example_test.go to improve the readability in godoc.
    
    Helps #21026.
    
    Change-Id: I16f56b82182da1dcc73cca44e535a7f5695e975d
    Reviewed-on: https://go-review.googlesource.com/48910
    
    
    Reviewed-by: default avatarDmitri Shuralyov <shurcool@gmail.com>
    Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
    ba6cd156
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7