Acess doc by terminal go doc PACKAGE_NAME Godoc string server First, download it go install golang.org/x/tools/cmd/godoc Serving using godoc directly echo http://localhost:6060/pkg/$(go list -m) && godoc -goroot=. -http=:6060 -play