code: func (formats Formats) GetBySuffix(suffix string) (f Format, found bool) {
  	for _, ff := range formats {
  		if strings.EqualFold(suffix, ff.MediaType.Suffix()) {
  			if found {
  				// ambiguous
  				found = false
  				return
  			}
  			f = ff
  			found = true
  		}
  	}
  	return
  }
docs: // GetBySuffix gets a output format given as suffix, e.g. "html".
  // It will return false if no format could be found, or if the suffix given
  // is ambiguous.
  // The lookup is case insensitive.