tmdb_api_settings.go 244 B

12345678910
  1. package settings
  2. type TmdbApiSettings struct {
  3. Enable bool `json:"enable"`
  4. ApiKey string `json:"api_key"`
  5. }
  6. func NewTmdbApiSettings(enable bool, apiKey string) *TmdbApiSettings {
  7. return &TmdbApiSettings{Enable: enable, ApiKey: apiKey}
  8. }