Complete the code to declare the main package.
package [1]The main package is declared with package main. This tells Go this is an executable program.
Complete the code to declare the main function.
func [1]() {
// program starts here
}The main function is declared as func main(). This is the entry point of the program.
Fix the error in the code to make it a valid Go program with main package and main function.
package main func [1]() { println("Hello, Go!") }
The main function must be named exactly 'main' with a lowercase 'm'. Go is case-sensitive.
Fill both blanks to create a valid Go program that prints "Welcome!".
package [1] func [2]() { println("Welcome!") }
The package must be 'main' and the function must be 'main' to run the program.
Fill all three blanks to create a Go program that prints "Go is fun!" using the main package and main function.
package [1] func [2]() { [3]("Go is fun!") }
The package and function must be 'main'. Use 'println' to print the message.