On Wed, Aug 26, 2020 at 8:03 AM Siddhesh Divekar
<siddhesh.dive...@gmail.com> wrote:
>
> What is the convention to name an environment variable if the program is 
> going to set it and use it.
> I have seen both ABC_DEF & AbcDef forms of it.

Do you mean the name used for the environment variable, or the name
used in the Go program?

Most environment variables use names in all caps with underscores, so ABC_DEF.

Most Go variables use mixed caps, so AbcDef.

Ian

-- 
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/CAOyqgcXX36wGFaVyts-SekdQGyJ0ZoR4VPAyMnVMONnyXZnO6w%40mail.gmail.com.

Reply via email to