admin icon indicating copy to clipboard operation
admin copied to clipboard

go get出错

Open zjiash opened this issue 9 years ago • 2 comments

按照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

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

zjiash avatar Jun 19 '15 03:06 zjiash

go get -u github.com/beego/admin

astaxie avatar Jun 19 '15 03:06 astaxie

many thanks, it works now

zjiash avatar Jun 23 '15 12:06 zjiash