The func main() function is where your program starts executing. When you run go run main.go, Go looks for a function named main in the main package and runs it.
The main function takes no arguments and returns nothing. If you need command-line arguments, you'll use the os package. If you need to return an exit code, you'll use os.Exit(). For now, just know that main is your entry point.