As you can see here , go build accepts the "tags" flag, which will include files that are "tagged", i.e.
package main
....
will be excluded from
go build
but included in
go build -tags=foo
Is there a way to include multiple tags? I.e.
go build -tags=foo && bar
source
share