code: func (m *MediaTypeDefinition) projectCanonical(view string) string {
  	cano := CanonicalIdentifier(m.Identifier)
  	base, params, _ := mime.ParseMediaType(cano)
  	if params["view"] != "" {
  		return cano // Already projected
  	}
  	params["view"] = view
  	return mime.FormatMediaType(base, params)
  }
docs: // projectIdentifier computes the projected canonical media type identifier by adding the "view"
  // param if the view is not the default view.