markbates / pkger

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

working directory is not part of a module #144

Open c9s opened 3 years ago

c9s commented 3 years ago

not sure why it shows the error: cannot find module providing package github.com/c9s/bbgo: working directory is not part of a module

I built a binary with pkger, and shipped the binary to somewhere else, then it shows this message. It seems the runtime still needs the go module files as a dependency?