leaf-library-3/internal/services/document/provider.go
2024-12-06 23:46:45 +08:00

19 lines
303 B
Go

package collection
import (
"leafdev.top/Leaf/leaf-library-3/internal/base/conf"
"leafdev.top/Leaf/leaf-library-3/internal/dao"
)
type Service struct {
config *conf.Config
dao *dao.Query
}
func NewService(config *conf.Config, dao *dao.Query) *Service {
return &Service{
config,
dao,
}
}