code: func (w *Writer) Close() error {
  	w.seq++
  	w.writePending()
  	if w.err != nil {
  		return w.err
  	}
  	w.err = errors.New("leveldb/journal: closed Writer")
  	return nil
  }
docs: // Close finishes the current journal and closes the writer.