opened
GhostRussia
username_0
```
$ mockery -dir pkg/auth/ -name Auth
/Users/ghost_russia/projects/.../pkg/auth/jwt.go:7:2: could not import github.com/dgrijalva/jwt-go (cannot find package "github.com/dgrijalva/jwt-go" in any of:
        /usr/local/opt/go/libexec/src/github.com/dgrijalva/jwt-go (from $GOROOT)
        /Users/ghost_russia/projects/golang/src/github.com/dgrijalva/jwt-go (from $GOPATH))
/Users/ghost_russia/projects/.../pkg/auth/jwt.go:11:2: undeclared name: jwt
/Users/ghost_russia/projects/.../pkg/auth/jwt.go:7:2: could not import github.com/dgrijalva/jwt-go (cannot find package "github.com/dgrijalva/jwt-go" in any of:
        /usr/local/opt/go/libexec/src/github.com/dgrijalva/jwt-go (from $GOROOT)
        /Users/ghost_russia/projects/golang/src/github.com/dgrijalva/jwt-go (from $GOPATH))
/Users/ghost_russia/projects/.../pkg/auth/jwt.go:11:2: undeclared name: jwt
Error walking: couldn't load packages due to errors: /Users/ghost_russia/projects/.../pkg/auth/auth.go, /Users/ghost_russia/projects/.../pkg/auth/jwt.go
```
vgo (empty GOPATH)
issue
created
GhostRussia
username_0
`vgo vendor` solves this problem
comment
closed
GhostRussia
username_0
issue