admin
admin copied to clipboard
go get出错
按照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
有人知道是什么原因吗?网上也找不到相关解释,谢谢~
go get -u github.com/beego/admin
many thanks, it works now