Documentation
¶
Overview ¶
Package lists provides standard APIs for handling lists
Index ¶
- func Count(slice interface{}) (map[string]int, error)
- func CropPartial(list []string, partial string) []string
- func CropPartialMapKeys(m map[string]string, partial string) map[string]string
- func GenericToString(list interface{}) ([]string, error)
- func Match(a []string, s string) bool
- func RemoveOrdered[T any](slice []T, i int) ([]T, error)
- func RemoveUnordered[T any](slice []T, i int) ([]T, error)
- func SumFloat64(dst, src map[string]float64)
- func SumInt(dst, src map[string]int)
- func SumInterface(dst, src map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CropPartial ¶
func CropPartialMapKeys ¶
func GenericToString ¶
GenericToString converts []interface to []string
func RemoveOrdered ¶
func RemoveUnordered ¶
func SumFloat64 ¶
func SumInterface ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.