package list import ( "fmt" "io" "strings" "unicode/utf8" ) const ( // DefaultHTMLCSSClass stores the css-class to use when none-provided via // SetHTMLCSSClass(cssClass string). DefaultHTMLCSSClass = "go-pretty-table" ) // listItem represents one line in the List type listItem struct { Level int Text string } // List helps print a 2-dimensional array in a human readable pretty-List. type List struct { // approxSize stores the approximate output length/size approxSize int // htmlCSSClass stores the HTML CSS Class to use on the