textables

package
v0.19.6 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupInfo

type GroupInfo struct {
	Name         string
	Score        int
	Dependencies []string
	Type         GroupType
}

type GroupType

type GroupType int
const (
	Group0 GroupType = iota
	GroupRegular
	GroupLast
)

type KalugaTable added in v0.19.1

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

Works both in HTML and PDF render.

func (*KalugaTable) AddGroup added in v0.19.1

func (t *KalugaTable) AddGroup(info GroupInfo)

func (*KalugaTable) String added in v0.19.1

func (t *KalugaTable) String() string

type MoscowTable

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

If len(vars) != 0 works only in PDF render. Otherwise works both in HTML and PDF render.

func NewMoscowTable

func NewMoscowTable(vars []string) *MoscowTable

func (*MoscowTable) AddGroup

func (t *MoscowTable) AddGroup(info GroupInfo)

func (*MoscowTable) String

func (t *MoscowTable) String() string

type Table

type Table interface {
	AddGroup(info GroupInfo)
	String() string
}

type UniversalTable

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

Works both in HTML and PDF render.

func (*UniversalTable) AddGroup

func (t *UniversalTable) AddGroup(info GroupInfo)

func (*UniversalTable) String

func (t *UniversalTable) String() string

Jump to

Keyboard shortcuts

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