Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Display ¶
func Display(tableConfig *TableConfig) error
Display function renders the tui table on the terminal Please note that you have to set SHOWCSV_RENDER_TUI environment variable to render TUI. `export SHOWCSV_RENDER_TUI=true` You can save above line in your ~/.bashrc to make it persistent
func DisplayFile ¶
DisplayFile loads the given csvfile and displays it on the terminal
Types ¶
type TableConfig ¶
type TableConfig struct { // TODO, make header editable to change the column name Name string Header []string Data [][]string }
TableConfig for tuitable
Click to show internal directories.
Click to hide internal directories.