Files
mayfly-go/server/internal/file/infrastructure/persistence/file.go

16 lines
311 B
Go
Raw Normal View History

package persistence
import (
"mayfly-go/internal/file/domain/entity"
"mayfly-go/internal/file/domain/repository"
"mayfly-go/pkg/base"
)
type fileRepoImpl struct {
base.RepoImpl[*entity.File]
}
func newFileRepo() repository.File {
return &fileRepoImpl{base.RepoImpl[*entity.File]{M: new(entity.File)}}
}