jsontable

package
v0.0.0-...-004cd70 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONTable

type JSONTable struct {
	// contains filtered or unexported fields
}

func NewJSONTable

func NewJSONTable(writer io.Writer) *JSONTable

func (*JSONTable) Append

func (t *JSONTable) Append(row []string)

func (*JSONTable) AppendBulk

func (t *JSONTable) AppendBulk(rows [][]string)

func (*JSONTable) JSONRender

func (t *JSONTable) JSONRender()

func (*JSONTable) NumLines

func (t *JSONTable) NumLines() int

func (*JSONTable) Render

func (t *JSONTable) Render()

func (*JSONTable) SetAlignment

func (t *JSONTable) SetAlignment(align int)

Stuff we should implement but we just proxy for now.

func (*JSONTable) SetAutoMergeCells

func (t *JSONTable) SetAutoMergeCells(auto bool)

func (*JSONTable) SetAutoMergeCellsByColumnIndex

func (t *JSONTable) SetAutoMergeCellsByColumnIndex(cols []int)

Stuff we should implement but we just proxy for now.

func (*JSONTable) SetAutoWrapText

func (t *JSONTable) SetAutoWrapText(auto bool)

Stub functions

func (*JSONTable) SetCaption

func (t *JSONTable) SetCaption(caption bool, captionText ...string)

func (*JSONTable) SetCaptionLabel

func (t *JSONTable) SetCaptionLabel(captionLabel bool, captionLabelText ...string)

func (*JSONTable) SetColumnQuoting

func (t *JSONTable) SetColumnQuoting(quoting []bool)

func (*JSONTable) SetDataLabel

func (t *JSONTable) SetDataLabel(dataLabel bool, dataLabelText ...string)

func (*JSONTable) SetHeader

func (t *JSONTable) SetHeader(keys []string)

Jump to

Keyboard shortcuts

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