hello world go program code example
Example 1: hello world in go
// First Go program
package main
import "fmt"
// Main function
func main() {
fmt.Println("!... Hello World ...!")
}
Example 2: go hello world
package main
import "fmt"
func main(){
fmt.Println("hello world")
}