code: func (s *Settings) Load(c context.Context) error {
  	var loadMe Settings
  
  	// Load additional global config from settings. If it's missing, that's fine,
  	// since its fields are all optional.
  	if err := settings.Get(c, globalConfigSettingsKey, &loadMe); err != nil {
  		// The settings are missing, so let's install the empty settings.
  		if err != settings.ErrNoSettings {
  			log.WithError(err).Errorf(c, "Failed to load global config from settings.")
  			return err
  		}
  
  		if err := settings.Set(c, globalConfigSettingsKey, &loadMe, "application", "initial empty config"); err != nil {
  			log.WithError(err).Warningf(c, "Failed to initialize empty config.")
  		}
  	}
  
  	*s = loadMe
  	return nil
  }
docs: // Load populates the settings instance from the stored settings.
  //
  // If no settings are stored, an empty Settings instance will be loaded and
  // this will return nil.
  //
  // An error will be returned if an operation that is expected to succeed fails.