Open
Description
See golang/go#29598
The README shows using an "assets_generate.go" with the "ignore" build tag, but that is ignored for the purposes of modules which will make it not pin the version of vfsgen if there isn't another file importing it.
Unrelated to this I had trouble getting this to work with modules, the importPathToDir
trick doesn't seem to work in modules mode. So I had to move the go:generate
comment to the main module and use the Filename
options to vfsgen to get it to write the file to the right place. This package could really use better/updated docs.
Metadata
Assignees
Labels
No labels
Activity