Beginner Go (Golang)
Q20 / 100

What is package main in Go?

Correct! Well done.

Incorrect.

The correct answer is B) The special package name for executables; must contain main()

B

Correct Answer

The special package name for executables; must contain main()

Explanation

Only programs (not libraries) use package main with a func main(). Libraries use any other package name.

Progress
20/100