14 lines
439 B
Go
14 lines
439 B
Go
package data
|
|
|
|
import "kra/internal/biz"
|
|
|
|
type auditQueryRepo struct{ data *Data }
|
|
type auditRecorderRepo struct{ data *Data }
|
|
type logFileRepo struct{ data *Data }
|
|
|
|
func NewAuditRepo(data *Data) biz.AuditQueryRepo { return &auditQueryRepo{data: data} }
|
|
|
|
func NewAuditRecorderRepo(data *Data) biz.AuditRecordRepo { return &auditRecorderRepo{data: data} }
|
|
|
|
func NewLogFileRepo(data *Data) biz.LogFileRepo { return &logFileRepo{data: data} }
|