go1.20.5
GoThrough

tabwriter.AlignRight

// Formatting can be controlled with these flags. // Force right-alignment of cell content. // Default is left-alignment. const AlignRight = iota

tabwriter.Debug

// Formatting can be controlled with these flags. // Print a vertical bar ('|') between columns (after formatting). // Discarded columns appear as zero-width columns ("||"). const Debug = iota

tabwriter.DiscardEmptyColumns

// Formatting can be controlled with these flags. // Handle empty columns as if they were not present in // the input in the first place. const DiscardEmptyColumns = iota

tabwriter.Escape

// To escape a text segment, bracket it with Escape characters. // For instance, the tab in this string "Ignore this tab: \xff\t\xff" // does not terminate a cell and constitutes a single character of // width one for formatting purposes. // // The value 0xff was chosen because it cannot appear in a valid UTF-8 sequence. const Escape = '\xff'

tabwriter.FilterHTML

// Formatting can be controlled with these flags. // Ignore html tags and treat entities (starting with '&' // and ending in ';') as single characters (width = 1). const FilterHTML = iota

tabwriter.StripEscape

// Formatting can be controlled with these flags. // Strip Escape characters bracketing escaped text segments // instead of passing them through unchanged with the text. const StripEscape = iota

tabwriter.TabIndent

// Formatting can be controlled with these flags. // Always use tabs for indentation columns (i.e., padding of // leading empty cells on the left) independent of padchar. const TabIndent = iota

tabwriter.NewWriter

// NewWriter allocates and initializes a new tabwriter.Writer. // The parameters are the same as for the Init function. func NewWriter(output io.Writer, minwidth int, tabwidth int, padding int, padchar byte, flags uint) *Writer