gin-admin
gin-admin copied to clipboard
A lightweight, flexible, elegant and full-featured RBAC scaffolding based on GIN + GORM 2.0 + Casbin 2.0 + Wire DI.
新版swag 工具会生成 LeftDelim/RightDelim ,升级项目版本以适应更新
用gin-admin-cli生成的项目,在internal\swagger\docs.go 的2014,2015行会多生成2个字段,导致无法编译和运行 ``` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "v1.0.0", Host: "", BasePath: "", Schemes: []string{}, Title: "gozrzsv2", Description: "go-zrzsv2...
wire_gen.go文件的BuildInjector函数前面如下:func BuildInjector() (*Injector, func(), error),这个函数在app.go的Init()被调用,但是在这之后只有injector.MenuSrv、injector.Engine被使用,所以Injector结构体的CasbinEnforcer、Auth字段是否多余呢?
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.7 to 1.9.0. Release notes Sourced from github.com/gin-gonic/gin's releases. v1.9.0 Changelog BREAK CHANGES Stop useless panicking in context and render #2150 BUG FIXES fix(router): tree bug where...
使用make swagger命令,无法生成文档,有人知道问题吗
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.8.1 to 1.9.3. Commits 77a57fd Limit the complexity of "like" queries that match on a pattern. 590010f Update match dependency 61273bf Update dependency 78289be Create FUNDING.yml 75046d2...
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220531201128-c960675eff93 to 0.7.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/net&package-manager=go_modules&previous-version=0.0.0-20220531201128-c960675eff93&new-version=0.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Rename schema files name for more readable.