Hi Ian,

Got it !

Thanks.

On Wed, Aug 26, 2020 at 9:09 AM Ian Lance Taylor <i...@golang.org> wrote:

> 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
>


-- 
-Siddhesh.

-- 
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/CAMjfk%2BjcS5q7ahpgw%3D40vnvtOtmPNqLXQnQRpEb5-v96X5uqpQ%40mail.gmail.com.

Reply via email to