Golang example application hello world
Example 1: go hello world
package main
import "fmt"
func main(){
fmt.Println("hello world")
}
Example 2: hello world golang
package main
import fmt
func main() {
fmt.Println("hello, world!")
}
package main
import "fmt"
func main(){
fmt.Println("hello world")
}
package main
import fmt
func main() {
fmt.Println("hello, world!")
}