markbates / pkger

Embed static files in Go binaries (replacement for gobuffalo/packr)
MIT License
1.19k stars 60 forks source link

Import Cycle not allowed #105

Closed A1Liu closed 4 years ago

A1Liu commented 4 years ago

Whenever I try to build the package with go build, I get the following error message:

can't load package: import cycle not allowed
package github.com/markbates/pkger
        imports github.com/markbates/pkger

How do I solve this problem?

A1Liu commented 4 years ago

Turns out, this is the result of running pkger inside the pkger repository.