package utils func TypedSliceToInterfaceSlice[T any](s []T) []interface{} { is := make([]interface{}, 0, len(s)) for _, t := range s { is = append(is, t) } return is }