package
1.57.1
Repository: https://github.com/containers/storage.git
Documentation: pkg.go.dev

# README

This package provides helper functions for dealing with strings

# Functions

Ellipsis truncates a string to fit within maxlen, and appends ellipsis (...).
GenerateRandomAlphaOnlyString generates an alphabetical random string with length n.
GenerateRandomASCIIString generates an ASCII random string with length n.
InSlice tests whether a string is contained in a slice of strings or not.
RemoveFromSlice removes a string from a slice.
ShellQuoteArguments takes a list of strings and escapes them so they will be handled right when passed as arguments to a program via a shell.
Truncate truncates a string to maxlen.