Hi, I will try to explain:
so, I have to run my code at 3 places : linux, windows and darwin. and On each platform there is a production and debug code.
To make this happen, i am using build tags.
for e.g. to make build for linux in production, the script will use this:
go build --tags "linux, production"
This is good on build side of things, but not at the go code side. As soon as I send to build process, we do fmt, lint etc, the "go fmt" removes the 2nd tag and then the symbols in go file is not found.
Best Regards,
Sandeep