Skip to content
Permalink
f92229e1fe
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
24 lines (21 sloc) 605 Bytes
package spider
import (
"go.uber.org/fx"
"vlink.dev/eoefans/internal/app/spider/health"
"vlink.dev/eoefans/internal/app/spider/video_analysis"
"vlink.dev/eoefans/internal/pkg/bilibili"
"vlink.dev/eoefans/internal/pkg/iversion"
"vlink.dev/eoefans/internal/pkg/log"
)
func Provide() fx.Option {
return fx.Options(
fx.Provide(iversion.NewFileVersion, log.NewSentryConfig, log.NewSentry),
video_analysis.Provide(),
fx.Provide(NewVideo),
fx.Provide(NewUpdate),
fx.Provide(NewPicture),
fx.Provide(NewUpdateDynamic),
fx.Provide(bilibili.NewSDK),
fx.Provide(health.NewCheckServer),
)
}