formats

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommaList

func CommaList(items []string) string

func FormatCount

func FormatCount(count int) string

func FormatDate

func FormatDate(date time.Time) string

func LastStringElement

func LastStringElement(str string, sep string) string

func Now

func Now() string

func PluralizeRecordCount

func PluralizeRecordCount(total int) string

func StripFirstStringElement

func StripFirstStringElement(str string, sep string) string

func TitleCase

func TitleCase(str string) string

func TitleCaseCommaList

func TitleCaseCommaList(items []string) string

func UpperCase

func UpperCase(str string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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