format

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: GPL-3.0 Imports: 3 Imported by: 3

README

format

Formatting utilities

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Size

func Size[T int | uint | int32 | uint32 | int64 | uint64](size T) string

func TimeMs

func TimeMs(t time.Time) string

Types

type Table

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

func (*Table) AppendColumn

func (t *Table) AppendColumn(x ...interface{}) *Table

func (*Table) AppendRow

func (t *Table) AppendRow(x ...interface{}) *Table

func (*Table) SetHeading

func (t *Table) SetHeading(x ...interface{})

func (*Table) String

func (t *Table) String() string

type TableRow

type TableRow []interface{}

Jump to

Keyboard shortcuts

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