Documentation ¶
Index ¶
- func Camel[I BS](s I) (out I)
- func Clean[T comparable](c []T, fix ...func(item T) T) []T
- func From(v any) string
- func FromE(v any) (string, error)
- func HumanBytes[T Num](i T) string
- func PadLeft[I, P BS](s I, n int, pad P) I
- func PadRight[I, P BS](s I, n int, pad P) I
- func Snake[I BS](s I, upper ...bool) (out I)
- func Title[I BS](s I) (out I)
- func ToInt[o Int](s any) o
- func ToIntOr[o Int](s any, def o) o
- type BS
- type Float
- type Int
- type Num
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clean ¶
func Clean[T comparable](c []T, fix ...func(item T) T) []T
func HumanBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.