markbates / pkger

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

When pkger command fails a broken .go files is left #110

Open cornelk opened 4 years ago

cornelk commented 4 years ago
pkger -o subdir
exit status 1: can't load package ...

leaves a .go file that causes compile errors:

var _ = pkger.Apply(mem.UnmarshalEmbed([]byte(`