Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot find package "github.com/vladimirvivien/gosh/api" #3

Closed
nhatlee opened this issue Sep 25, 2018 · 2 comments
Closed

cannot find package "github.com/vladimirvivien/gosh/api" #3

nhatlee opened this issue Sep 25, 2018 · 2 comments

Comments

@nhatlee
Copy link

nhatlee commented Sep 25, 2018

I got the error when run example by: go run shell/gosh.go. The error:

shell/gosh.go:15:2: cannot find package "github.com/vladimirvivien/gosh/api" in any of:
	/usr/local/go/src/github.com/vladimirvivien/gosh/api (from $GOROOT)
	/Users/nhatle/go/src/github.com/vladimirvivien/gosh/api (from $GOPATH)

The link github.com/vladimirvivien/gosh/api have error 404 when run on browser.

@vladimirvivien
Copy link
Owner

Hi @nhatlee
Apologies for late reply. I am unable to reproduce this error.
Couple of things when running locally:

  • Make sure to clone entire repo
  • Run the command above (go run shell/gosh.go) from repo's root dir.

@nhatlee
Copy link
Author

nhatlee commented Oct 16, 2018

Thanks. I resolved this.

@nhatlee nhatlee closed this as completed Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants