As seen here, go build accepts a "tags" flag that will include files that are "tagged," i.e.
// +build foo
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
Multiple tags can be included in a space separated list:
go build -tags="foo bar"
you can build like this
go build -tags=foo -tags=bar