i am new to all this, but i need help.
could someone tell me whats going on with this code.
thanks in advance.
i am new to all this, but i need help.
could someone tell me whats going on with this code.
thanks in advance.
The error message tells you what’s going on:
prog.go:5:8: package format is not in GOROOT (/usr/local/go-faketime/src/format)
It’s fmt, not format. Change your code to:
import "fmt"
func main() {
fmt.Println("Hello, 世界")
}
Have you done the tour of go? If not:
thank you Sir.