package
1.6.2
Repository: https://github.com/logfire-sh/cli.git
Documentation: pkg.go.dev

# Functions

DisplayURL returns a copy of the string urlStr removing everything except the hostname and path.
DisplayWidth calculates what the rendered width of string s will be.
No description provided by the author
FuzzyAgoAbbr is an abbreviated version of FuzzyAgo.
Indent returns a copy of the string s with indent prefixed to it, will apply indent to each line of the string.
Pluralize returns a concatenated string with num and the plural form of thing if necessary.
RelativeTimeAgo returns a human readable string of the time duration between a and b that is estimated to the nearest unit of time.
RemoveDiacritics returns the input value without "diacritics", or accent marks.
RemoveExcessiveWhitespace returns a copy of the string s with excessive whitespace removed.
Title returns a copy of the string s with all Unicode letters that begin words mapped to their Unicode title case.
Truncate returns a copy of the string s that has been shortened to fit the maximum display width.