Documentation ¶ Overview ¶ source https://github.com/cli/cli/blob/trunk/utils/utils.go Index ¶ func DisplayURL(urlStr string) string func FuzzyAgo(ago time.Duration) string func FuzzyAgoAbbr(now time.Time, createdAt time.Time) string func Humanize(s string) string func IsURL(s string) bool func Pluralize(num int, thing string) string func ValidURL(urlStr string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DisplayURL ¶ func DisplayURL(urlStr string) string func FuzzyAgo ¶ func FuzzyAgo(ago time.Duration) string func FuzzyAgoAbbr ¶ func FuzzyAgoAbbr(now time.Time, createdAt time.Time) string func Humanize ¶ func Humanize(s string) string func IsURL ¶ func IsURL(s string) bool func Pluralize ¶ func Pluralize(num int, thing string) string func ValidURL ¶ func ValidURL(urlStr string) bool ValidURL Maximum length of a URL: 8192 bytes Types ¶ This section is empty. Source Files ¶ View all Source files ago.go Directories ¶ Show internal Expand all Path Synopsis embed Click to show internal directories. Click to hide internal directories.