What is the purpose of the package main?

The main package is the entry point of a Go application. It is unimported and links all the packages it imports. It has a func main() that takes no arguments and does not return a value.

package main is where your program runs


Questions

Terms

References