For some reason, some people don't like command line flags, so they prefer to use something like a
dot on file, which is a hidden file named DOT EMV, that you specify your your environment variables
in and go does support that and some people use it.
I have used it in the past and particularly people that are coming from where it seems to be really,
really popular and Python as well.
Some people prefer to use it and the option does exist.
And here is a repository that will give you that functionality.
If you don't like command line flags, honestly, if you're going to be working with, say, docker
images, command line flags, make your life a lot easier.
You don't have to copy a dot on file in there during the docker build.
But if you want to use dot on file, you can.
And here's an example of how you do it.
So all of the documentation is right here.
You go get the package and then you just specify a dot on file at the root of your project and give
it a name equals key or key equals value.
Name equals value.
You specify that and it shows you exactly how to read it right here.
So it's very straightforward.
And if you want to do that instead of command line flags, it's entirely up to you.