code: func getConfig(c context.Context) *Config {
  	cfg := Config{}
  	switch err := settings.Get(c, baseName, &cfg); err {
  	case nil:
  		break
  	case settings.ErrNoSettings:
  		// Defaults.
  		cfg = defaultConfig
  	default:
  		panic(fmt.Errorf("could not fetch Tumble settings - %s", err))
  	}
  	return &cfg
  }
docs: // getConfig returns the current configuration.
  //
  // It first tries to load it from settings. If no settings is installed, or if
  // there is no configuration in settings, defaultConfig is returned.