strings

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package strings provides simplified signatures for strings

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Elipsis

func Elipsis(str string, max int) string

Elipsis returns trimmed string by provided maximum limit

func ElipsisForTerminal

func ElipsisForTerminal(str string) (result string)

ElipsisForTerminal returns trimmed string which should fit nicely to terminal pipe output

Types

This section is empty.

Jump to

Keyboard shortcuts

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