package
9.1.81+incompatible
Repository: https://github.com/pinpt/go-common.git
Documentation: pkg.go.dev

# Functions

InterpolateString will replace { } in string.
JoinURL Creates a URL string from parts.
NewCloseableStringReader will return a closeable reader.
NewUUIDV4 returns a new UUID v4.
PadLeft returns a new string of a specified length in which the beginning of the current string is padded with spaces or with a specified Unicode character.
PadRight returns a new string of a specified length in which the end of the current string is padded with spaces or with a specified Unicode character.
Pointer will return a pointer to a string handling empty string as nil.
PrettyTime returns the string representation of the duration.
Resize resizes the string with the given length.
SortCopy sort an identical copy of the array passed in.
Value returns a string value for an interface or empty string if nil.

# Structs

CloseableStringReader is a string reader which implements the io.ReadCloser interface.