tmp
Monday, July 28, 2014
hello go world
Go言語でhello worldを出すまで ##install MacPortsで(Homebrewやpkgからでも入れられる) ```bash sudo port install go ``` ###確認 ```bash $ go version go version go1.3 darwin/amd64 ``` ##hello.go作成 ```go package main import "fmt" func main() { fmt.Printf("hello, world\n") } ``` ##run ```bash $ go run hello.go hello, world ``` ##参考 *
*
*
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment