mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-16 04:36:35 +08:00
refactor: 去除无用的getter方法
This commit is contained in:
@@ -10,7 +10,3 @@ func InitIoc() {
|
||||
|
||||
ioc.Register(new(oauth2AppImpl), ioc.WithComponentName("Oauth2App"))
|
||||
}
|
||||
|
||||
func GetAuthApp() Oauth2 {
|
||||
return ioc.Get[Oauth2]("Oauth2App")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user