We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
I love how simple Go's entry point main function is. It is where your code will start when someone runs your program.
However, main is difficult to test, and it's not clear how we access the environmental dependencies our program has, such as stdin, stdout, the command line args, the environment variables themselves, etc.
continue reading on pace.dev
⚠️ This post links to an external website. ⚠️
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.