utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: GPL-3.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ElideSuffix string = "..."
)
View Source
const (
	PadPadding string = " "
)

Variables

This section is empty.

Functions

func IntAll

func IntAll(vs []int, f func(int) bool) bool

func IntAny

func IntAny(vs []int, f func(int) bool) bool

func Pop

func Pop(array []string) (string, []string)

func Substr

func Substr(input string, start int, length int) string

Types

type Elidable

type Elidable string

func (Elidable) Elide

func (s Elidable) Elide(max int) string

type Padable

type Padable string

func (Padable) Pad

func (p Padable) Pad(padding int) string

Jump to

Keyboard shortcuts

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