tabtable

package
v0.7.22 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	MinWidth int
	TabWidth int
	Padding  int
	PadChar  byte
	Flags    uint
}

func DefaultContext

func DefaultContext() Context

type Writer

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

func New

func New() *Writer

func (*Writer) Init

func (o *Writer) Init(ctx Context)

func (*Writer) Print

func (o *Writer) Print()

func (*Writer) String

func (o *Writer) String() string

func (*Writer) Write

func (o *Writer) Write(a ...any)

func (*Writer) Writef

func (o *Writer) Writef(format string, a ...any)

Jump to

Keyboard shortcuts

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