> May I ask why it would be interesting to take the address of a constant?

I have been already faced to this case. I usually use go swagger to generate 
the model from swagger spec. Go swagger generates some structure with field 
pointer (for example for string) where I always put the same value. The 
workaround, that I usually use, is to use global variable instead of global 
constant. 

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to