Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问OPMS的依赖包如何安装?比如github.com/BurntSushi/graphics-go/graphics #16

Open
PeperYin opened this issue Feb 20, 2017 · 6 comments

Comments

@PeperYin
Copy link

default
请问这些包如何安装?

@kgtom
Copy link

kgtom commented Feb 20, 2017

go get github.com/BurntSushi/graphics-go/graphics

@PeperYin
Copy link
Author

其他几个package也是同样的方法安装吗?

@changtailiang
Copy link

用同样的办法解决。我搞了一个go.deps,内容如下:
github.com/astaxie/beego
github.com/astaxie/beego/cache
github.com/astaxie/beego/cache/memcache
github.com/astaxie/beego/cache/redis
github.com/astaxie/beego/context
github.com/astaxie/beego/orm
github.com/astaxie/beego/utils/pagination
github.com/BurntSushi/graphics-go/graphics
github.com/go-sql-driver/mysql
github.com/oliamb/cutter
github.com/zheng-ji/goSnowFlake

然后执行如下命令:
go get -u -v $(cat go.deps) #安装依赖项目
go build -o opms main.go #重新编译

@741369
Copy link

741369 commented Sep 6, 2017

这种方法更新包好low啊

@bnfan
Copy link

bnfan commented Sep 7, 2017

@liuzhiwang 怎么更新更好啊?

@yushine
Copy link

yushine commented Nov 5, 2017

@liuzhiwang golang 包管理确实不好用..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants