// +build local This works for go build -tags local go test -tags local
But for some reason go run ignores the local tag? go run . -tags local -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/071b3e6c-1bea-447c-9311-5a357f5a2e57n%40googlegroups.com.
