Skip to content

Andy0526/gitlearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

只需要选择⼀个⽬录作为⼯作空间, 然后将GOPAT环境 变量设置为该路径。必要时, Go语⾔⼯具会创建⽬录。 例如:

$ export GOPATH=$HOME/gocode # 选择⼯作⽬录
$ export GOBIN=$GOPATH/bin
$ go get golearb/ch1/helloworld # 获取/编译/安装
$ $GOPATH/bin/helloworld # 运⾏程序
Hello, 世界 # 这是中⽂P

运⾏这些例⼦需要安装Go1.5以上的版本。

$ go version
go version go1.5 linux/amd64

如果使⽤其他的操作系统, 请参考 https://golang.org/doc/install 提供的说明安装。

gitlearn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published