Versions in this module Expand all Collapse all v0 v0.5.0 Apr 30, 2024 Changes in this version + func DayUTCOffsetSecs(t *time.Time) int + func TemplateExecute(templateStr string, context map[string]any) (string, error) + func TimezoneToUTCDeltaSecs(yyyymmdd uint, timezone string) (int, error) v0.4.0 Feb 15, 2024 Changes in this version + func Anyify[T any](items []T) []any + func ArrayIntToArryString(strings []int) []string + func ArrayWithValue(size int, s string) []string + func DaySeconds(t *time.Time) uint + func DayYYYYMMDD(t *time.Time) uint + func DistHaversine(a, b Coord) float64 + func DurationFormatSecs(seconds uint) string + func FilterMapByKeys[TK comparable, TV any](m map[TK]TV, validKeys []TK) map[TK]TV + func Flatten[T any](arrArrs [][]T) []T + func IntArrayToStringArray(arrInt []int) []string + func IntArraysSortedFilter(intArrays [][]int) [][]int + func ItemInArray[T comparable](item T, items []T) bool + func MapKeys[TK comparable, TV any](m map[TK]TV) []TK + func MapValueAdd(m map[string]uint, value uint) map[string]uint + func MaxInt(a, b uint) uint + func Pairs[T any](items []T) [][]T + func StringInArray(items []string, findItem string) bool + func TimeHMSFormatSecs(seconds uint) string + type Coord struct + Lat float64 + Lon float64