Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • 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

Switch branch/tag
  • go
  • src
  • net
  • http
  • server.go
Find file BlameHistoryPermalink
  • Tobias Klauser's avatar
    all: use "reports whether" consistently instead of "returns whether" · 9e277f7d
    Tobias Klauser authored Nov 22, 2018
    Follow-up for CL 147037 and after Brad noticed the "returns whether"
    pattern during the review of CL 150621.
    
    Go documentation style for boolean funcs is to say:
    
        // Foo reports whether ...
        func Foo() bool
    
    (rather than "returns whether")
    
    Created with:
    
        $ perl -i -npe 's/returns whether/reports whether/' $(git grep -l "returns whether" | grep -v vendor)
    
    Change-Id: I15fe9ff99180ad97750cd05a10eceafdb12dc0b4
    Reviewed-on: https://go-review.googlesource.com/c/150918
    
    
    Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
    Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
    9e277f7d

Replace server.go

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7