strings

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanAndAbbreviate

func CleanAndAbbreviate(s string, maxLength int) string

func MaxInt

func MaxInt(a int, b int) int

func MinInt

func MinInt(a int, b int) int

Types

type Table

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

func NewTable

func NewTable(header ...string) *Table

func (Table) String

func (t Table) String() string

func (Table) WithHeader

func (t Table) WithHeader(items ...string) *Table

func (Table) WithRow

func (t Table) WithRow(row ...string) *Table

Jump to

Keyboard shortcuts

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