It looks like the -tags flag is broken since switching to go/packages. Looking at the go/packages API, it's not immediately clear to me how to implement this functionality.
Intuitively, I'd assume I just pass through "-tags=foo bar" in go/packages's Config.BuildFlags, but it's not clear to me what flags the "build system query tool" supports.
It looks like the
-tags
flag is broken since switching to go/packages. Looking at the go/packages API, it's not immediately clear to me how to implement this functionality.Intuitively, I'd assume I just pass through
"-tags=foo bar"
in go/packages'sConfig.BuildFlags
, but it's not clear to me what flags the "build system query tool" supports.@egonelbre