You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fabric/youtube/youtube.go

26 lines
413 B
Go

package youtube
import (
"github.com/danielmiessler/fabric/common"
)
func NewYouTube() (ret *YouTube) {
label := "YouTube"
ret = &YouTube{}
ret.Configurable = &common.Configurable{
Label: label,
EnvNamePrefix: common.BuildEnvVariablePrefix(label),
}
ret.ApiKey = ret.AddSetupQuestion("API key", false)
return
}
type YouTube struct {
*common.Configurable
ApiKey *common.SetupQuestion
}