We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
wire_gen.go文件的BuildInjector函数前面如下:func BuildInjector() (*Injector, func(), error),这个函数在app.go的Init()被调用,但是在这之后只有injector.MenuSrv、injector.Engine被使用,所以Injector结构体的CasbinEnforcer、Auth字段是否多余呢?
The text was updated successfully, but these errors were encountered:
嗯,可以查看最新 V10 版本的代码,这次版本迭代较大一些,每个模块的处理逻辑更加清晰了
https://github.com/LyricTian/gin-admin/blob/feat/v10/internal/wirex/injector.go
Sorry, something went wrong.
No branches or pull requests
wire_gen.go文件的BuildInjector函数前面如下:func BuildInjector() (*Injector, func(), error),这个函数在app.go的Init()被调用,但是在这之后只有injector.MenuSrv、injector.Engine被使用,所以Injector结构体的CasbinEnforcer、Auth字段是否多余呢?
The text was updated successfully, but these errors were encountered: