Golang Hello world
Objective: print “Hello world!” in console
Code:
//main.go
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello world!")
}
Objective: print “Hello world!” in console
Code:
//main.go
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello world!")
}