1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
package config import ( "time" ) type Source struct { Name string Key string Enable bool Fetcher Fetcher Importer ImporterType Channel string URL string Attribute string ImportPath string FetchTimeout time.Duration ImportTimeout time.Duration OutputPath string Repo Repository }