You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to generate from a file with a build tag, gowrap exits with an error.
//go:build unitpackage main
//go:generate gowrap gen -g -p . -i TestInterface -t prometheus -o prom.gotypeTestInterfaceinterface{
TestMethod()
}
go generate -tags unit ./...
failed to load source package: -: build constraints exclude all Go files in /path/to/package
path/to/package/prom_test.go:5: running "gowrap": exit status 1
The text was updated successfully, but these errors were encountered:
When attempting to generate from a file with a build tag, gowrap exits with an error.
The text was updated successfully, but these errors were encountered: