$ golds .
run.go:133: Run: go env GOROOT error: exec: "go": executable file not found in $PATH
Your project is probably the best of all developing projects of this kind.
And I suggest you pay attention to the flags that were in the package golang.org/x/tools/godoc (https://github.com/golang/tools/tree/v0.36.0/godoc):
usage: godoc -http=localhost:6060
-goroot string
Go root directory (default ".")
-http string
HTTP service address (default "localhost:6060")
-index
enable search index
-index_files string
glob pattern specifying index files; if not empty, the index is read from these files in sorted order
-index_interval duration
interval of indexing; 0 for default (5m), negative to only index once at startup
-index_throttle float
index throttle value; 0.0 = no time allocated, 1.0 = full throttle (default 0.75)
-links
link identifiers to their declarations (default true)
-maxresults int
maximum number of full text search results shown (default 10000)
-notes string
regular expression matching note markers to show (default "BUG")
-play
enable playground
-templates string
load templates/JS/CSS from disk in this directory
-timestamps
show timestamps with directory listings
-url string
print HTML for named URL
-v verbose mode
-write_index
write index to a file; the file name must be specified with -index_files
-zip string
zip file providing the file system to serve; disabled if empty
And first of all on the flag -goroot.
It seems to me that the project is still a standard from which much can be learned.
Your project is probably the best of all developing projects of this kind.
And I suggest you pay attention to the flags that were in the package
golang.org/x/tools/godoc(https://github.com/golang/tools/tree/v0.36.0/godoc):And first of all on the flag
-goroot.It seems to me that the project is still a standard from which much can be learned.