Go: Difference between revisions
Appearance
Created page with "[https://golang.org/ The Go Programming Language] [https://golang.org/doc/code.html How to Write Go Code] [https://gobyexample.com/hello-world Go by Example: Hello World] <s..." |
(No difference)
|
Latest revision as of 09:11, 15 June 2019
$ cat hello-world.go
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
$ go run hello-world.go
hello world
$ go build hello-world.go
$ ./hello-world
hello world