Close flushes and closes the writer.
()
| 967 | |
| 968 | // Close flushes and closes the writer. |
| 969 | func (w *Writer) Close() error { |
| 970 | return w.d.close() |
| 971 | } |
| 972 | |
| 973 | // Reset discards the writer's state and makes it equivalent to |
| 974 | // the result of NewWriter or NewWriterDict called with dst |