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

19 lines
302 B
Go
Raw Normal View History

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