Doc prints the documentation comments associated with the item identified by its
arguments (a package, const, func, type, var, or method) followed by a one-line
summary of each of the first-level items "under" that item (package-level declarations
for a package, methods for a type, etc.).
but it's misleading.
The text was updated successfully, but these errors were encountered:
In Go 1.5, the new
go doc
command only shows the first exported constant of a "const" block.Running
go doc
onPrints:
In know
go help doc
says:but it's misleading.
The text was updated successfully, but these errors were encountered: