setup parser

This commit is contained in:
Gitea
2023-12-09 00:33:12 +03:00
parent 20107503e0
commit 3733278d8c
24 changed files with 986 additions and 100 deletions

View File

@ -0,0 +1,7 @@
package xslice
func ForEach[T any](items []T, f func(T)) {
for _, item := range items {
f(item)
}
}