19 lines
284 B
Go
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),
|
||
|
}
|
||
|
}
|