q/last_expr.go
Method LastExpr.Evaluate
has 7 return statements (exceeds 4 allowed). Open
Open
func (e *LastExpr) Evaluate(engine *Engine, input interface{}, args []*Statement) (interface{}, error) {
in := reflect.ValueOf(input)
if len(args) != 1 {
return nil, errors.New("function Last() must take a single argument")