statik icon indicating copy to clipboard operation
statik copied to clipboard

Compilation error in main.go

Open stephen-kruger opened this issue 8 years ago • 0 comments

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_

stephen-kruger avatar Jun 29 '17 14:06 stephen-kruger