tags 835377 + moreinfo
thanks

Hi,

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

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
github.com/prometheus/client_golang/prometheus
package prometheus // import
"github.com/prometheus/client_golang/prometheus"

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
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to