mirror of
https://github.com/wader/fq.git
synced 2024-11-23 09:56:07 +03:00
16 lines
288 B
Go
16 lines
288 B
Go
package gojqex
|
|
|
|
//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
|
|
}
|