mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-31 11:56:33 +08:00
refactor: 去除无用的getter方法
This commit is contained in:
@@ -23,14 +23,6 @@ func GetConfigApp() Config {
|
||||
return ioc.Get[Config]("ConfigApp")
|
||||
}
|
||||
|
||||
func GetResourceApp() Resource {
|
||||
return ioc.Get[Resource]("ResourceApp")
|
||||
}
|
||||
|
||||
func GetRoleApp() Role {
|
||||
return ioc.Get[Role]("RoleApp")
|
||||
}
|
||||
|
||||
func GetSyslogApp() Syslog {
|
||||
return ioc.Get[Syslog]("SyslogApp")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user