Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
Generate accepts rows and generates a table. It accepts an error as it's second parameter so it can be composed with sql.DB.Query It closes rows.
func GenerateCustom ¶
func GenerateCustom(rows *sql.Rows, wr *tablewriter.Table) error
GenerateCustom accepts rows and an instantiated table writer wr hould not already have it's header set. It closes rows.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.