> Whats wrong with const? 

Const is the ideal choice, but how do users of my program specify the path when 
they compile it?

> And could not be global var then?

Using var loses the guarantee that the path won’t be changed, and the go 
compiler can no longer optimize as much I presume?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/C05716C1-02EB-4EAD-89E0-4975600FACC5%40gmail.com.

Reply via email to