Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/cmd/godoc: synopsis for subdirectories is always empty #22646
The same when leaving
If I run
This problem is not specific to the sqlx package; it happens with all packages. I just used this as an example.
Using Go 1.9.2 with most recent godoc (commit 05e91d0/Nov 7).
This was referenced
Nov 9, 2017
Thanks, I am able to repro this. I know why this is happening. The http mode and the command line code paths are different. The http mode creates a dir tree for the entire GOPATH, whereas in command line mode, the dir tree for only that path is created with a depth of 1. Hence the synopses of sub-directories are not retrieved. We just need to go one level deeper.
Will send a CL when 1.11 cycle opens.