DocumentSeparator is an interface that can be implemented by writers to allow for custom document separators.
| 40 | |
| 41 | // DocumentSeparator is an interface that can be implemented by writers to allow for custom document separators. |
| 42 | type DocumentSeparator interface { |
| 43 | // Separator returns the document separator. |
| 44 | Separator() []byte |
| 45 | } |
| 46 | |
| 47 | // MultiDocumentWriter is a writer that can write multiple documents. |
| 48 | func MultiDocumentWriter(w Writer) Writer { |
no outgoing calls
no test coverage detected