go - Godoc, create html for entire package -
how can use godoc
create html documentation entire package. i.e. recursively. @ moment when run:
godoc -html -goroot="mypath" pkg > index.html
i index.html
contains information on .go
files in current directory.
there no documentation other sub packages index.html
include dead links them.
how can run above command in recursive fashion? perhaps missing because there no mention of recursion in godoc
documentation.
go has no notion of "sub packages" in reality - packages packages, can tell package declaration @ top of file not having hierarchy. unidiomatic package documentation nested subdirectories single file - subdirectories contain different packages, documentation should separate.
Comments
Post a Comment