refactor: code review

This commit is contained in:
meilin.huang
2023-07-03 21:42:04 +08:00
parent c240079df4
commit ae5a1fd7de
46 changed files with 188 additions and 165 deletions

View File

@@ -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
}