q/first_expr.go
Method FirstExpr.Evaluate
has 6 return statements (exceeds 4 allowed). Open
Open
func (e *FirstExpr) Evaluate(engine *Engine, input interface{}, args []*Statement) (interface{}, error) {
in := reflect.ValueOf(input)
if len(args) != 1 {
return nil, fmt.Errorf("function First() must take a single argument")