Documentation ¶
Index ¶
- func ExecuteFunc(fname string, line chan string) func() error
- func InterruptFunc(msg string) func(err error)
- func RenderTable(tableData GenericDictHeap, headers []string)
- type GenericDict
- type GenericDictHeap
- func (g GenericDictHeap) Len() int
- func (g GenericDictHeap) Less(i, j int) bool
- func (g *GenericDictHeap) Pop() interface{}
- func (g *GenericDictHeap) Push(x interface{})
- func (g GenericDictHeap) Swap(i, j int)
- func (g GenericDictHeap) Take(count int) GenericDictHeap
- func (g GenericDictHeap) ToJson(out io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteFunc ¶
func InterruptFunc ¶
func RenderTable ¶
func RenderTable(tableData GenericDictHeap, headers []string)
Renders any data in a nice tabular manner
Types ¶
type GenericDict ¶
GenericDict represents a generic map represented as key, value
type GenericDictHeap ¶
type GenericDictHeap []GenericDict
func (GenericDictHeap) Len ¶
func (g GenericDictHeap) Len() int
func (GenericDictHeap) Less ¶
func (g GenericDictHeap) Less(i, j int) bool
func (*GenericDictHeap) Pop ¶
func (g *GenericDictHeap) Pop() interface{}
func (*GenericDictHeap) Push ¶
func (g *GenericDictHeap) Push(x interface{})
func (GenericDictHeap) Swap ¶
func (g GenericDictHeap) Swap(i, j int)
func (GenericDictHeap) Take ¶
func (g GenericDictHeap) Take(count int) GenericDictHeap
Click to show internal directories.
Click to hide internal directories.