Documentation ¶
Index ¶
- func DeleteSpaces(str string) string
- func FromHumanSize[T constraints.Integer](size string) (T, error)
- func FuzzySearch(str string, strList []string, threshold float32) (string, error)
- func HumanSize[T constraints.Integer](n T) string
- func IsStringInSlice(a string, list []string) bool
- func RemoveScheme(s string) string
- func SortStringsCaseInsensitive(data []string)
- type NopStringWriteCloser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromHumanSize ¶ added in v1.9.0
func FromHumanSize[T constraints.Integer](size string) (T, error)
func FuzzySearch ¶
func HumanSize ¶ added in v1.9.0
func HumanSize[T constraints.Integer](n T) string
func IsStringInSlice ¶
func RemoveScheme ¶
func SortStringsCaseInsensitive ¶
func SortStringsCaseInsensitive(data []string)
Types ¶
type NopStringWriteCloser ¶
func (NopStringWriteCloser) Close ¶
func (NopStringWriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.