Versions in this module Expand all Collapse all v0 v0.0.52 Sep 1, 2016 v0.0.51 Aug 31, 2016 v0.0.50 Aug 31, 2016 Changes in this version + type ColumnSort struct + Asc bool + Column int + type Section struct + FirstColumn Value + Rows [][]Value + type Sorting struct + Rows [][]Value + SortBy []ColumnSort + func (s Sorting) Len() int + func (s Sorting) Less(i, j int) bool + func (s Sorting) Swap(i, j int) + type Table struct + BackgroundStr string + BorderStr string + Content string + FillFirstColumn bool + Header []string + HeaderVals []Value + Notes []string + Rows [][]Value + Sections []Section + SortBy []ColumnSort + Title string + func (t Table) AsRows() [][]Value + func (t Table) Print(w io.Writer) error + type Value interface + Compare func(Value) int + String func() string + Value func() Value + type ValueBool struct + B bool + func NewValueBool(b bool) ValueBool + func (t ValueBool) Compare(other Value) int + func (t ValueBool) String() string + func (t ValueBool) Value() Value + type ValueBytes struct + I uint64 + func NewValueBytes(i uint64) ValueBytes + func (t ValueBytes) Compare(other Value) int + func (t ValueBytes) String() string + func (t ValueBytes) Value() Value + type ValueError struct + E error + func NewValueError(e error) ValueError + func (t ValueError) Compare(other Value) int + func (t ValueError) String() string + func (t ValueError) Value() Value + type ValueFmt struct + Error bool + Func func(string, ...interface{}) string + V Value + func NewValueFmt(v Value, error bool) ValueFmt + func (t ValueFmt) Compare(other Value) int + func (t ValueFmt) Fprintf(w io.Writer, pattern string, rest ...interface{}) (int, error) + func (t ValueFmt) String() string + func (t ValueFmt) Value() Value + type ValueInt struct + I int + func NewValueInt(i int) ValueInt + func (t ValueInt) Compare(other Value) int + func (t ValueInt) String() string + func (t ValueInt) Value() Value + type ValueInterface struct + I interface{} + func NewValueInterface(i interface{}) ValueInterface + func (t ValueInterface) Compare(other Value) int + func (t ValueInterface) String() string + func (t ValueInterface) Value() Value + type ValueNone struct + func (t ValueNone) Compare(other Value) int + func (t ValueNone) String() string + func (t ValueNone) Value() Value + type ValueString struct + S string + func NewValueString(s string) ValueString + func (t ValueString) Compare(other Value) int + func (t ValueString) String() string + func (t ValueString) Value() Value + type ValueStrings struct + S []string + func NewValueStrings(s []string) ValueStrings + func (t ValueStrings) Compare(other Value) int + func (t ValueStrings) String() string + func (t ValueStrings) Value() Value + type ValueSuffix struct + Suffix string + V Value + func NewValueSuffix(v Value, s string) ValueSuffix + func (t ValueSuffix) Compare(other Value) int + func (t ValueSuffix) String() string + func (t ValueSuffix) Value() Value + type ValueTime struct + T time.Time + func NewValueTime(t time.Time) ValueTime + func (t ValueTime) Compare(other Value) int + func (t ValueTime) String() string + func (t ValueTime) Value() Value + type ValueVersion struct + V semver.Version + func NewValueVersion(v semver.Version) ValueVersion + func (t ValueVersion) Compare(other Value) int + func (t ValueVersion) String() string + func (t ValueVersion) Value() Value + type Writer struct + func NewWriter(w io.Writer, emptyStr, bgStr, borderStr string) *Writer + func (w *Writer) Flush() error + func (w *Writer) Write(vals []Value)