1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 14:20:54 +00:00
Beego/vendor/github.com/Knetic/govaluate/expressionFunctions.go
2018-11-09 12:37:28 +08:00

9 lines
338 B
Go

package govaluate
/*
Represents a function that can be called from within an expression.
This method must return an error if, for any reason, it is unable to produce exactly one unambiguous result.
An error returned will halt execution of the expression.
*/
type ExpressionFunction func(arguments ...interface{}) (interface{}, error)