You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
416 B
24 lines
416 B
package audit |
|
|
|
import ( |
|
"go-common/app/interface/main/tv/conf" |
|
auditDao "go-common/app/interface/main/tv/dao/audit" |
|
"go-common/app/interface/main/tv/dao/cms" |
|
) |
|
|
|
// Service . |
|
type Service struct { |
|
conf *conf.Config |
|
auditDao *auditDao.Dao |
|
cmsDao *cms.Dao |
|
} |
|
|
|
// New . |
|
func New(c *conf.Config) *Service { |
|
srv := &Service{ |
|
conf: c, |
|
auditDao: auditDao.New(c), |
|
cmsDao: cms.New(c), |
|
} |
|
return srv |
|
}
|
|
|