document

package
v0.4.17 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 10 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 {
	layout.Layout
	Tables []*table.Table
	// contains filtered or unexported fields
}

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) 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) UnmarshalText added in v0.4.16

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