Difference between revisions for go
|
|
Next edit → |
Additions:
go in archlinux
%%(html5)
$ sudo pacman -S go go-tools
fmt.Println(«Hello World!»)
$ cat helloworld.go
fmt.Println(«Hello World!»)
$ gofmt helloworld.go
use 'godoc cmd/fmt' for documentation on the fmt command
PACKAGE DOCUMENTATION
package fmt
## The Go Programming Language – documentation in web server !
$ godoc -http=:8181
%%(html5)
$ sudo pacman -S go go-tools
fmt.Println(«Hello World!»)
$ cat helloworld.go
fmt.Println(«Hello World!»)
$ gofmt helloworld.go
- Println(«Hello World!»)
use 'godoc cmd/fmt' for documentation on the fmt command
PACKAGE DOCUMENTATION
package fmt
import “fmt”
$ godoc -http=:8181
Deletions:
%%(html)
fmt.Println(«Hello World!»)