code: func getOncallData(c context.Context, name, url string) (ui.Oncall, error) {
  	result := ui.Oncall{}
  	err := getJSONData(c, url, 10*time.Minute, &result)
  	// Set the name, this is not loaded from the sheriff JSON.
  	result.Name = name
  	return result, err
  }
docs: // getOncallData fetches oncall data and caches it for 10 minutes.