go-common/app/interface/main/app-feed/service/external/service.go
2019-04-22 18:49:16 +08:00

19 lines
284 B
Go

package external
import (
"go-common/app/interface/main/app-feed/conf"
"go-common/app/interface/main/app-feed/dao/dynamic"
)
// Service .
type Service struct {
dynamic *dynamic.Dao
}
// New .
func New(c *conf.Config) *Service {
return &Service{
dynamic: dynamic.New(c),
}
}