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.
19 lines
316 B
19 lines
316 B
package popular |
|
|
|
import ( |
|
"go-common/app/admin/main/feed/conf" |
|
showdao "go-common/app/admin/main/feed/dao/show" |
|
) |
|
|
|
// Service is search service |
|
type Service struct { |
|
showDao *showdao.Dao |
|
} |
|
|
|
// New new a search service |
|
func New(c *conf.Config) (s *Service) { |
|
s = &Service{ |
|
showDao: showdao.New(c), |
|
} |
|
return |
|
}
|
|
|