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

go get出错 #35

Open
zjiash opened this issue Jun 19, 2015 · 2 comments
Open

go get出错 #35

zjiash opened this issue Jun 19, 2015 · 2 comments

Comments

@zjiash
Copy link

zjiash commented Jun 19, 2015

按照Readme操作,第一步就报错了。

// mac系统,bee版本如下
$ bee version
bee   :1.2.2
beego :1.4.1
Go    :go version go1.3.1 darwin/amd64

// go get就出错了
$ go get github.com/beego/admin
# github.com/beego/admin/src/rbac
go/src/github.com/beego/admin/src/rbac/group.go:13: this.GetInt64 undefined (type *GroupController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/group.go:14: this.GetInt64 undefined (type *GroupController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/group.go:70: this.GetInt64 undefined (type *GroupController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/node.go:21: this.GetInt64 undefined (type *NodeController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/node.go:22: this.GetInt64 undefined (type *NodeController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/node.go:63: this.GetInt64 undefined (type *NodeController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/node.go:67: this.GetInt64 undefined (type *NodeController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/node.go:90: this.GetInt64 undefined (type *NodeController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/role.go:18: this.GetInt64 undefined (type *RoleController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/role.go:19: this.GetInt64 undefined (type *RoleController has no field or method GetInt64)
go/src/github.com/beego/admin/src/rbac/role.go:19: too many errors

有人知道是什么原因吗?网上也找不到相关解释,谢谢~

@astaxie
Copy link
Member

astaxie commented Jun 19, 2015

go get -u github.com/beego/admin

@zjiash
Copy link
Author

zjiash commented Jun 23, 2015

many thanks, it works now

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

2 participants