code: func (s Storage) FetchAllSettings(c context.Context) (*settings.Bundle, time.Duration, error) {
  	c = defaultContext(c)
  	logging.Debugf(c, "Fetching app settings from the datastore")
  
  	latest := latestSettings()
  	switch err := ds.Get(c, &latest); {
  	case err == ds.ErrNoSuchEntity:
  		break
  	case err != nil:
  		return nil, 0, transient.Tag.Apply(err)
  	}
  
  	pairs := map[string]*json.RawMessage{}
  	if latest.Value != "" {
  		if err := json.Unmarshal([]byte(latest.Value), &pairs); err != nil {
  			return nil, 0, err
  		}
  	}
  	return &settings.Bundle{Values: pairs}, s.expirationDuration(c), nil
  }
docs: // FetchAllSettings fetches all latest settings at once.