Documentation
¶
Index ¶
- func Render(body *Body, opts ...Option) string
- type Body
- type Cell
- type Option
- type Row
- func (r *Row) AddCell(cell Cell) *Row
- func (r *Row) AddCells(cells ...Cell) *Row
- func (r *Row) AddStringCell(text string) *Row
- func (r *Row) AddStringCells(cells ...string) *Row
- func (r *Row) Cells() []Cell
- func (r *Row) Clone() *Row
- func (r *Row) Index() int
- func (r *Row) IsDisabled() bool
- func (r *Row) SetDisabled(disabled bool) *Row
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Body ¶
type Body struct {
// contains filtered or unexported fields
}
func NewBodyFromStrings ¶
func (*Body) AddCellsRow ¶
func (*Body) AddCellsRows ¶
func (*Body) AddStringsRow ¶
func (*Body) AddStringsRows ¶
type Option ¶
func WithHeader ¶
type Row ¶
type Row struct {
// contains filtered or unexported fields
}
func NewRowFromStrings ¶
func (*Row) AddStringCell ¶
func (*Row) AddStringCells ¶
func (*Row) IsDisabled ¶ added in v1.0.60
func (*Row) SetDisabled ¶ added in v1.0.60
Click to show internal directories.
Click to hide internal directories.