mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-04 00:10:25 +08:00
refactor: 消息模块重构,infra包路径简写等
This commit is contained in:
15
server/internal/db/infra/persistence/db_sql.go
Normal file
15
server/internal/db/infra/persistence/db_sql.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package persistence
|
||||
|
||||
import (
|
||||
"mayfly-go/internal/db/domain/entity"
|
||||
"mayfly-go/internal/db/domain/repository"
|
||||
"mayfly-go/pkg/base"
|
||||
)
|
||||
|
||||
type dbSqlRepoImpl struct {
|
||||
base.RepoImpl[*entity.DbSql]
|
||||
}
|
||||
|
||||
func newDbSqlRepo() repository.DbSql {
|
||||
return &dbSqlRepoImpl{}
|
||||
}
|
||||
Reference in New Issue
Block a user