document

package
v0.4.28 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Document

type Document struct {
	*options.Options
	Tables []*table.Table
	// contains filtered or unexported fields
}

func New

func New(opts ...options.Option) *Document

func (*Document) AppendFields

func (d *Document) AppendFields(f ...string)

func (*Document) AppendRow

func (d *Document) AppendRow(r []string)

func (*Document) AppendRows

func (d *Document) AppendRows(r [][]string)

func (*Document) AppendRuler

func (d *Document) AppendRuler(r ruler.Ruler)

func (*Document) AppendTable

func (d *Document) AppendTable(t *table.Table)

func (*Document) AppendText

func (d *Document) AppendText(t string)

func (*Document) Bytes

func (d *Document) Bytes() []byte

func (*Document) FromString

func (d *Document) FromString(in string)

func (*Document) InitFlags

func (d *Document) InitFlags(f []column.Flags)

func (*Document) InitPrefix

func (d *Document) InitPrefix(p string)

func (Document) MarshalJSON

func (d Document) MarshalJSON() ([]byte, error)

func (Document) MarshalText

func (d Document) MarshalText() ([]byte, error)

see encoding.TextMarshaler

func (*Document) String

func (d *Document) String() string

func (*Document) TableCount

func (d *Document) TableCount() int

func (*Document) UnmarshalText

func (d *Document) UnmarshalText(in []byte) error

Jump to

Keyboard shortcuts

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