leaf-library-3/internal/services/document/provider.go

19 lines
301 B
Go
Raw Normal View History

2024-12-06 18:44:32 +00:00
package document
2024-12-06 15:46:45 +00:00
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,
}
}