youtube handling + special site handling framework
This commit is contained in:
parent
6a88d9d0f4
commit
17d4d46d09
4 changed files with 97 additions and 8 deletions
|
|
@ -6,6 +6,10 @@ import (
|
|||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
func LoaderConfig(fs *flag.FlagSet, cb func() (*zap.Logger, bool)) imagor.Option {
|
||||
return imagor.WithLoaders(NewSpecialLoader())
|
||||
}
|
||||
|
||||
// Config imagorvideo config.Option
|
||||
func Config(fs *flag.FlagSet, cb func() (*zap.Logger, bool)) imagor.Option {
|
||||
var (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue