GoLang Environment Variables | Beginners Tutorial
In this video we are going to learn about getting and setting Environment Variables. These can be used to configure your application at runtime. We will look at what an environment variable is, how to read it from the system and from a .env file. We will touch on a system process and how it creates a fork and his it's own copy of the environment variables.
More info on fork/exec and system process can be found here probably more than you need, but maybe enough to go down a rabbit hole: https://en.wikipedia.org/wiki/Environment_variable#Design https://en.wikipedia.org/wiki/Child_process https://linux.die.net/man/2/fork
All code found in this video will be at: https://github.com/NerdCademyDev/golang
Let me know if you have any issues!
What else would you like me to cover?
Until next time...
21577193 Bytes