util files moved form kern to util package

This commit is contained in:
2026-04-29 11:03:36 +02:00
parent 4d910dd069
commit 8787973de0
20 changed files with 284 additions and 250 deletions
+5
View File
@@ -45,3 +45,8 @@ type ExtIterator interface {
func ErrNoOperation(name string) error {
return fmt.Errorf("no %s() function defined in the data-source", name)
}
func IsIterator(v any) (ok bool) {
_, ok = v.(Iterator)
return
}