mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
refactor: code review
This commit is contained in:
@@ -5,7 +5,6 @@ import "mayfly-go/internal/sys/domain/repository"
|
||||
var (
|
||||
accountRepo = newAccountRepo()
|
||||
configRepo = newConfigRepo()
|
||||
msgRepo = newMsgRepo()
|
||||
resourceRepo = newResourceRepo()
|
||||
roleRepo = newRoleRepo()
|
||||
syslogRepo = newSyslogRepo()
|
||||
@@ -19,10 +18,6 @@ func GetConfigRepo() repository.Config {
|
||||
return configRepo
|
||||
}
|
||||
|
||||
func GetMsgRepo() repository.Msg {
|
||||
return msgRepo
|
||||
}
|
||||
|
||||
func GetResourceRepo() repository.Resource {
|
||||
return resourceRepo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user