code diketik pada text editor tlx
package main
import "fmt"
func main() {
fmt.Print("Halo, dunia!")
}
akan tetapi menampilkan compile error :
no required module provides package solution.cpp: go.mod file not found in current directory or any parent directory; see 'go help modules'
code diketik pada text editor tlx package main import "fmt" func main() { fmt.Print("Halo, dunia!") } akan tetapi menampilkan compile error : no required module provides package solution.cpp: go.mod file not found in current directory or any parent directory; see 'go help modules'