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