优化结构
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
package system
|
||||
|
||||
import "kra/internal/biz"
|
||||
|
||||
type auditQueryRepo struct{ data Provider }
|
||||
type auditRecorderRepo struct{ data Provider }
|
||||
type logFileRepo struct{ data Provider }
|
||||
|
||||
func NewAuditRepo(data Provider) biz.AuditQueryRepo { return &auditQueryRepo{data: data} }
|
||||
|
||||
func NewAuditRecorderRepo(data Provider) biz.AuditRecordRepo { return &auditRecorderRepo{data: data} }
|
||||
|
||||
func NewLogFileRepo(data Provider) biz.LogFileRepo { return &logFileRepo{data: data} }
|
||||
Reference in New Issue
Block a user