cell

package
v0.0.0-...-96aface Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlignCenter = iota
	AlignLeft
	AlignRight
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell interface {
	String() string
	Length() int
	Original() string
}

type Column

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

func CreateColumn

func CreateColumn(name string) *Column

func (*Column) Align

func (h *Column) Align() int

func (*Column) AlignString

func (h *Column) AlignString() string

func (*Column) Colorful

func (h *Column) Colorful() bool

func (*Column) Default

func (h *Column) Default() string

func (*Column) Equal

func (h *Column) Equal(other *Column) bool

func (*Column) Length

func (h *Column) Length() int

func (*Column) Original

func (h *Column) Original() string

func (*Column) SetAlign

func (h *Column) SetAlign(mode int)

func (*Column) SetColor

func (h *Column) SetColor(displayType, font, background int)

func (*Column) SetDefault

func (h *Column) SetDefault(value string)

func (*Column) String

func (h *Column) String() string

type Data

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

func CreateData

func CreateData(value string) *Data

func CreateEmptyData

func CreateEmptyData() *Data

func (*Data) Length

func (d *Data) Length() int

func (*Data) Original

func (d *Data) Original() string

func (*Data) String

func (d *Data) String() string

Jump to

Keyboard shortcuts

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