go get -u golang.org/x/net does not work as documented

384 views
Skip to first unread message

Lee Painton

unread,
Apr 4, 2018, 10:21:15 PM4/4/18
to golang-nuts
Trying the listed command returns: 
package golang.org/x/net: no Go files in /Users/lpainton/go/src/golang.org/x/net

Workaround is trivial, but the documentation on https://github.com/golang/net is wrong

Volker Dobler

unread,
Apr 4, 2018, 11:39:38 PM4/4/18
to golang-nuts
As golang.org/x/net is not a Go package the result is
to be expected. I wonder where you found documented
that go get -u golang.org/x/net should behave differently?

V.

Volker Dobler

unread,
Apr 4, 2018, 11:43:13 PM4/4/18
to golang-nuts
Just to make sure: go get golang.org/x/net works, it does
download all for golang.org/x/net and the message is
just an information.

V.

On Thursday, 5 April 2018 04:21:15 UTC+2, Lee Painton wrote:

Lee Painton

unread,
Apr 5, 2018, 12:04:33 AM4/5/18
to golang-nuts
My build system was missing golang.org/x/net/lex/httplex and issuing go get for this package was giving me that message without actually retrieving the httplex sub-package.  I assumed it meant go get was failing.  I will try to verify tomorrow though.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages