code: func parseMimeTypeList(mimeTypeList string, typeList *[]string, format string) error {
  	mimeTypes := strings.Split(mimeTypeList, ",")
  	for _, typeName := range mimeTypes {
  		if mimeTypePattern.MatchString(typeName) {
  			*typeList = append(*typeList, typeName)
  			continue
  		}
  		if aliasMimeType, ok := mimeTypeAliases[typeName]; ok {
  			*typeList = append(*typeList, aliasMimeType)
  			continue
  		}
  		return fmt.Errorf(format, typeName)
  	}
  	return nil
  }
docs: // parseMimeTypeList parses a list of MIME Types for a comment like
  // `produce` (`Content-Type:` response header) or
  // `accept` (`Accept:` request header)