Seeting constant variable value on condition

Can we set the value of a const variable based on the some condition

If you can formulate the condition as a build tag, yes, no otherwise.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.