#development #golang #pattern #reading-list

🔗 Why you shouldn't use func main in Go
pace.dev

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. ⚠️