code: func (gv GroupVersion) WithResource(resource string) GroupVersionResource {
  	return GroupVersionResource{Group: gv.Group, Version: gv.Version, Resource: resource}
  }
docs: // WithResource creates a GroupVersionResource based on the method receiver's GroupVersion and the passed Resource.