/tabwriter

Drop in replacement for https://golang.org/pkg/text/tabwriter with additional features

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

This repo is a drop-in replacement for the golang text/tabwriter package.

It is based on that package at cf2c2ea8 and inherits its license.

The following additional features are supported:

  • RememberWidths flag allows remembering maximum widths seen per column even after Flush() is called.
  • RememberedWidths() []int and SetRememberedWidths([]int) *Writer allows obtaining and transferring remembered column width between writers.