Files
mayfly-go/server/internal/db/application/db_sql.go

21 lines
365 B
Go
Raw Normal View History

package application
import (
"mayfly-go/internal/db/domain/entity"
"mayfly-go/internal/db/domain/repository"
"mayfly-go/pkg/base"
)
type DbSql interface {
base.App[*entity.DbSql]
}
type dbSqlAppImpl struct {
base.AppImpl[*entity.DbSql, repository.DbSql]
}
2024-01-21 22:52:20 +08:00
// 注入DbSqlRepo
func (d *dbSqlAppImpl) InjectDbSqlRepo(repo repository.DbSql) {
d.Repo = repo
}