textutil: Add PrefixLineWriter

PrefixLineWriter returns a io.Writer wrapper that adds a prefix
to each EOL it encounters.  It buffers, and Flush must be called.

Also added the WriteFlusher and WriteFlushCloser interfaces.

Change-Id: I6a3335c682b505f386c890c50e89d39ba174e526
3 files changed
tree: 005b72c973830a55f19f007d4e5d94db425e623e
  1. cmd/
  2. cmdline/
  3. dbutil/
  4. envvar/
  5. gosh/
  6. host/
  7. ibe/
  8. metadata/
  9. netconfig/
  10. netstate/
  11. set/
  12. textutil/
  13. timing/
  14. toposort/
  15. vlog/
  16. .gitignore
  17. .godepcop
  18. AUTHORS
  19. CONTRIBUTING.md
  20. CONTRIBUTORS
  21. LICENSE
  22. PATENTS
  23. README.md
  24. VERSION
README.md

This repository contains general purpose libraries used by the Vanadium project. TEST