table

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(writer io.Writer, length int, each func(i int) interface{})

Write wraps the tablewriter API to simplify the writing of struct slices.

Use the `table` tag struct tag to customize column headers.

- `table:"-" hides the field from output.`

- `table:"_"` flattens subfields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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