utils

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compact

func Compact(args ...string) []string

func ExtendTimeout

func ExtendTimeout(ctx context.Context, extra_time time.Duration)

func IntersectHoles

func IntersectHoles(list *[]string, list2 []string)

func SortedStringKeys added in v0.0.15

func SortedStringKeys[Value any](m map[string]Value) []string

Types

type Tabbed added in v0.0.15

type Tabbed struct {
	Rows [][]string
}

func (*Tabbed) AddRow added in v0.0.15

func (t *Tabbed) AddRow(cells ...string) *Tabbed

func (*Tabbed) Lines added in v0.0.15

func (t *Tabbed) Lines() []string

func (*Tabbed) String added in v0.0.15

func (t *Tabbed) String() string

func (*Tabbed) Tabulate added in v0.0.15

func (t *Tabbed) Tabulate() *Tabbed

Jump to

Keyboard shortcuts

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