README.md 426 字节
Newer Older
P
Phodal HUANG 已提交
1
# learn-go
P
Phodal HUANG 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

## 安装 Go

```bash
brew install go
```

配置环境 

```bash
export GOROOT=/usr/local/opt/go/libexec
export GOPATH=$HOME/.go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
```

### 安装 Go 依赖管理工具:godep

```
brew install dep
```

TBD.
P
Phodal HUANG 已提交
24 25 26 27 28 29

## Test

```
go get github.com/onsi/ginkgo
go get github.com/onsi/gomega
P
Phodal HUANG 已提交
30 31 32 33 34
```

## Refs

[https://github.com/MontFerret/ferret](https://github.com/MontFerret/ferret)