godoc command seems to be broken in current snapshot, it seems to be fixed in recent go-tools snapshot. Expected behaviour: $ godoc sync Pool type Pool struct { // New optionally specifies a function to generate ... Actual behavior: $ godoc sync Pool 2017/09/12 11:14:38 cannot find package "." in: /target After running godoc -http=:8080 and visiting localhost:8080, the following error shows up: template: main:6:10: executing "main" at <$.GoogleCN>: can't evaluate field GoogleCN in type godoc.Page
The same problem in dev-go/go-tools-0_pre20160220 + dev-lang/go-1.9.4.
Pleas try with dev-go/go-tools-0_pre20180817.
Works correctly with dev-go/go-tools-0_pre20180817