tags 835377 + moreinfo


What you are describing sounds related to
https://github.com/golang/go/issues/6654 and

But I am not sure what is failing for you. If I run go doc without
GOROOT or GOPATH set, it finds correctly the standard library packages:

$ go doc os.open
func Open(name string) (*File, error)
    Open opens the named file for reading. If successful, methods on the
    returned file can be used for reading; the associated file
descriptor has
    mode O_RDONLY. If there is an error, it will be of type *PathError.

And if I set GOPATH, I can see docs for any arbitrary installed go package:

$ GOPATH=/usr/share/gocode go doc
package prometheus // import

Package prometheus provides metrics primitives to instrument code for
monitoring. It also offers a registry for metrics. Sub-packages allow to

Martín Ferrari (Tincho)

Pkg-go-maintainers mailing list

Reply via email to