Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/godoc: multiword example tags #3070
I am not sure we really want people writings sentences as identifiers. You can write a doc comment and godoc will show it as explanatory text.
Labels changed: added priority-later, removed priority-triage.
Owner changed to @adg.
Status changed to Accepted.
changed the title from
cmd/godoc: multiword example tags
x/tools/cmd/godoc: multiword example tags
Apr 14, 2015
Currently, godoc ignores example functions if their suffixes contain
Although the logic can be extended to support suffixes containing '_', I don't see much value in this. The use of _ is very clear in demarcating boundaries between methods on a type and the suffix (for eg.