go-common/app/interface/main/app-feed/service/external/service.go

19 lines
284 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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),
}
}