tableify

package module
v0.0.0-...-eabd6f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2016 License: MIT Imports: 7 Imported by: 0

README

tableify

Print Go structs as a CLI table

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StructTable

type StructTable struct {
	*tablewriter.Table
	// contains filtered or unexported fields
}

func NewStructTable

func NewStructTable(writer io.Writer, typ interface{}) (*StructTable, error)

func (*StructTable) Append

func (t *StructTable) Append(data interface{})

func (*StructTable) AppendBulk

func (t *StructTable) AppendBulk(data interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL