package xslices func ForEach[T any](items []T, f func(T)) { for _, item := range items { f(item) } }