Compiling without errors

Report a typo

Mary has just finished working on her first "Hello, World!" Go program. However, when she tries to compile it via the go build command, she stumbles upon some errors and can't properly compile her program.

Can you help her fix the errors in the code below so that she can properly compile and execute her program?

Write a program in Go
package hello

import "fmt"

func hello() {
fmt.Println("Hello, World!")
}
___

Create a free account to access the full topic