mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-10 23:36:37 +08:00
初始化
初始化项目
This commit is contained in:
@@ -22,7 +22,6 @@ type ScraperService struct {
|
||||
fanart *FanartProvider
|
||||
adult *AdultProvider
|
||||
hub *Hub
|
||||
notify *NotifyChannelService
|
||||
cache *RuntimeCacheService
|
||||
images *ImageProxy
|
||||
}
|
||||
@@ -53,12 +52,6 @@ func (s *ScraperService) SetDouban(douban *DoubanProvider) {
|
||||
s.douban = douban
|
||||
}
|
||||
|
||||
func (s *ScraperService) SetNotifyChannels(notify *NotifyChannelService) {
|
||||
if s != nil {
|
||||
s.notify = notify
|
||||
}
|
||||
}
|
||||
|
||||
func (s *ScraperService) SetRuntimeCache(cache *RuntimeCacheService) *ScraperService {
|
||||
if s != nil {
|
||||
s.cache = cache
|
||||
|
||||
Reference in New Issue
Block a user