()
| 416 | } |
| 417 | |
| 418 | func (doc *Document) RemoveBody() { |
| 419 | doc._body = nil |
| 420 | doc._rawBody = nil |
| 421 | } |
| 422 | |
| 423 | // HasBody returns true if the given document has either an unmarshalled body, or raw bytes available. |
| 424 | func (doc *Document) HasBody() bool { |
no outgoing calls
no test coverage detected