1
1
mirror of https://github.com/wader/fq.git synced 2024-11-25 23:13:19 +03:00
fq/internal/gojqx/makefn.go
Mattias Wadman bf7fa07c41 fq: Use go 1.20 and cleanup
Also rename *ex packages to *x
2024-04-01 19:14:10 +02:00

16 lines
287 B
Go

package gojqx
//go:generate sh -c "cat makefn_gen.go.tmpl | go run ../../dev/tmpl.go | gofmt > makefn_gen.go"
import (
"github.com/wader/gojq"
)
type Function struct {
Name string
MinArity int
MaxArity int
FuncFn func(any, []any) any
IterFn func(any, []any) gojq.Iter
}