Skip to content

开发文档

Joe Zou edited this page Jul 24, 2020 · 4 revisions

如果还没有安装Go开发环境,请参考以下文档Getting Started ,安装完成后,请执行以下命令:

Golang 1.11+

go mod vendor

ps:使用go mod

Golang 1.11以下

gopm get github.com/coocood/freecache -v -g

或者

go get -u github.com/coocood/freecache

或者

chmod u+x ./depend.sh
./depend.sh

请注意: 最好使用Go 1.13+进行开发