mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-16 03:21:03 +02:00
return the *FqlCompiler customed replace default (#227)
Invalid return value
This commit is contained in:
parent
24512715e5
commit
e9cd4d414d
@ -28,9 +28,7 @@ func New(setters ...Option) *FqlCompiler {
|
||||
c.funcs = make(map[string]core.Function)
|
||||
}
|
||||
|
||||
return &FqlCompiler{
|
||||
stdlib.NewLib(),
|
||||
}
|
||||
return c
|
||||
}
|
||||
|
||||
func (c *FqlCompiler) RegisterFunction(name string, fun core.Function) error {
|
||||
|
Loading…
Reference in New Issue
Block a user