StripInternalProperties returns a copy of the given body with all internal underscore-prefixed keys removed, except _attachments and _deleted.
(b Body)
| 480 | |
| 481 | // StripInternalProperties returns a copy of the given body with all internal underscore-prefixed keys removed, except _attachments and _deleted. |
| 482 | func StripInternalProperties(b Body) (Body, bool) { |
| 483 | return stripSpecialProperties(b, true) |
| 484 | } |
| 485 | |
| 486 | // stripAllInternalProperties returns a copy of the given body with all underscore-prefixed keys removed. |
| 487 | func stripAllSpecialProperties(b Body) (Body, bool) { |