Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnSort ¶
type Sorting ¶
type Sorting struct { SortBy []ColumnSort Rows [][]Value }
type Table ¶
type Table struct { Title string Content string // Either strings or values should be provided Header []string HeaderVals []Value SortBy []ColumnSort // Either sections or rows should be provided Sections []Section Rows [][]Value Notes []string // Formatting FillFirstColumn bool BackgroundStr string BorderStr string }
type ValueBytes ¶
type ValueBytes struct {
I uint64
}
func NewValueBytes ¶
func NewValueBytes(i uint64) ValueBytes
func NewValueMegaBytes ¶ added in v0.0.53
func NewValueMegaBytes(i uint64) ValueBytes
func (ValueBytes) Compare ¶
func (t ValueBytes) Compare(other Value) int
func (ValueBytes) String ¶
func (t ValueBytes) String() string
func (ValueBytes) Value ¶
func (t ValueBytes) Value() Value
type ValueError ¶
type ValueError struct {
E error
}
func NewValueError ¶
func NewValueError(e error) ValueError
func (ValueError) Compare ¶
func (t ValueError) Compare(other Value) int
func (ValueError) String ¶
func (t ValueError) String() string
func (ValueError) Value ¶
func (t ValueError) Value() Value
type ValueInterface ¶
type ValueInterface struct {
I interface{}
}
func NewValueInterface ¶
func NewValueInterface(i interface{}) ValueInterface
func (ValueInterface) Compare ¶
func (t ValueInterface) Compare(other Value) int
func (ValueInterface) String ¶
func (t ValueInterface) String() string
func (ValueInterface) Value ¶
func (t ValueInterface) Value() Value
type ValueString ¶
type ValueString struct {
S string
}
func NewValueString ¶
func NewValueString(s string) ValueString
func (ValueString) Compare ¶
func (t ValueString) Compare(other Value) int
func (ValueString) String ¶
func (t ValueString) String() string
func (ValueString) Value ¶
func (t ValueString) Value() Value
type ValueStrings ¶
type ValueStrings struct {
S []string
}
func NewValueStrings ¶
func NewValueStrings(s []string) ValueStrings
func (ValueStrings) Compare ¶
func (t ValueStrings) Compare(other Value) int
func (ValueStrings) String ¶
func (t ValueStrings) String() string
func (ValueStrings) Value ¶
func (t ValueStrings) Value() Value
type ValueSuffix ¶
func NewValueSuffix ¶
func NewValueSuffix(v Value, s string) ValueSuffix
func (ValueSuffix) Compare ¶
func (t ValueSuffix) Compare(other Value) int
func (ValueSuffix) String ¶
func (t ValueSuffix) String() string
func (ValueSuffix) Value ¶
func (t ValueSuffix) Value() Value
type ValueTime ¶
func NewValueTime ¶
type ValueVersion ¶
func NewValueVersion ¶
func NewValueVersion(v semver.Version) ValueVersion
func (ValueVersion) Compare ¶
func (t ValueVersion) Compare(other Value) int
func (ValueVersion) String ¶
func (t ValueVersion) String() string
func (ValueVersion) Value ¶
func (t ValueVersion) Value() Value
Click to show internal directories.
Click to hide internal directories.