code: func New(b []byte, contentType string) Parser {
  	mediaType, _, err := mime.ParseMediaType(contentType)
  	if err == nil && mediaType == "application/openmetrics-text" {
  		return NewOpenMetricsParser(b)
  	}
  	return NewPromParser(b)
  }
docs: // New returns a new parser of the byte slice.