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

Compilation error in main.go #25

Open
stephen-kruger opened this issue Jun 29, 2017 · 0 comments
Open

Compilation error in main.go #25

stephen-kruger opened this issue Jun 29, 2017 · 0 comments

Comments

@stephen-kruger
Copy link

The line 9 in rakyll/statik/example/main.go
_ "github.com/rakyll/statik/example/statik"

is giving an error during our build :
_vendor/github.com/rakyll/statik/example/main.go:9:2: cannot find package "github.com/rakyll/statik/example/statik" in any of: /root/go/src/github.com/***/go/vendor/github.com/rakyll/statik/example/statik (vendor tree) /usr/local/go/src/github.com/rakyll/statik/example/statik (from $GOROOT) /root/go/src/github.com/rakyll/statik/example/statik (from $GOPATH)_
Deleting that line fixes the issue.

The package was installed using
_go get -v -u -f github.com/rakyll/statik_

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

1 participant