N
N
nano_e_t_42017-10-05 19:11:03
go
nano_e_t_4, 2017-10-05 19:11:03

Why can't go get find packages?

Hello everyone,
I do go get -u github.com/golang/lint/golin?, I get this error

package github.com/golang/lint/golin: cannot find package "github.com/golang/lint/golin" in any of:
  /usr/lib/go-1.8/src/github.com/golang/lint/golin (from $GOROOT)
  /home/la-la/go_test/src/github.com/golang/lint/golin (from $GOPATH)

and in gopath the contents of the repository appeared.
Who knows what could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2017-10-05
@nano_e_t_4

cd $GOPATH
go get -u github.com/golang/lint/golint

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question