WithSubResourceBody returns an option that uses the given body for a subresource Update or Patch operation.
(body Object)
| 510 | // WithSubResourceBody returns an option that uses the given body |
| 511 | // for a subresource Update or Patch operation. |
| 512 | func WithSubResourceBody(body Object) SubResourceUpdateAndPatchOption { |
| 513 | return &withSubresourceBody{body: body} |
| 514 | } |
| 515 | |
| 516 | type withSubresourceBody struct { |
| 517 | body Object |
no outgoing calls
no test coverage detected
searching dependent graphs…