winyh / accbase Goto Github PK
View Code? Open in Web Editor NEW基于Go Micro + Casbin + Gin + Gorm + JWT 用户认证和权限微服务
基于Go Micro + Casbin + Gin + Gorm + JWT 用户认证和权限微服务
方便交流
谢谢。
`➜ /Users/michael/Development/accbase git:(master) ✗ >go run srv/auth/main.go
srv/auth/proto/auth.pb.micro.go:44:6: AuthService redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:36:6
srv/auth/proto/auth.pb.micro.go:51:6: authService redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:43:6
srv/auth/proto/auth.pb.micro.go:56:6: NewAuthService redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:48:51
srv/auth/proto/auth.pb.micro.go:63:23: (*authService).Login redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:61:6
srv/auth/proto/auth.pb.micro.go:73:23: (*authService).Register redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:71:6
srv/auth/proto/auth.pb.micro.go:83:23: (*authService).UserInfo redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:81:6
srv/auth/proto/auth.pb.micro.go:93:23: (*authService).Roles redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:91:6
srv/auth/proto/auth.pb.micro.go:105:6: AuthHandler redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:103:6
srv/auth/proto/auth.pb.micro.go:112:6: RegisterAuthHandler redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:110:91
srv/auth/proto/auth.pb.micro.go:126:6: authHandler redeclared in this block
previous declaration at srv/auth/proto/auth.micro.go:124:6
srv/auth/proto/auth.pb.micro.go:93:23: too many errors`
难度大吗?
➜ /Users/michael/Development/go_work/src/accbase git:(master) ✗ >go run cli/main.go
{"id":"go.micro.client","code":500,"detail":"service go.micro.srv.user: not found","status":"Internal Server Error"}
➜ /Users/michael/Development/go_work/src/accbase git:(master) ✗ >go run srv/user/main.go
/# command-line-arguments
srv/user/main.go:110:11: cannot use result (type []model.User) as type []string in assignment
比如怎么运行此项目,方便学习。 感谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.