Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
osteele committed Jul 9, 2017
1 parent 50d11a6 commit a824673
Show file tree
Hide file tree
Showing 4 changed files with 502 additions and 433 deletions.
2 changes: 1 addition & 1 deletion expression/builders.go
Expand Up @@ -39,7 +39,7 @@ func makeFilter(fn valueFn, name string, args []valueFn) valueFn {
}
}

func makeIndexExpr(obj, index func(Context) interface{}) func(Context) interface{} {
func makeIndexExpr(obj, index func(Context) interface{}) func(Context) interface{} { // nolint: gocyclo
return func(ctx Context) interface{} {
ref := reflect.ValueOf(obj(ctx))
i := reflect.ValueOf(index(ctx))
Expand Down
1 change: 1 addition & 0 deletions expression/parser.go
@@ -1,4 +1,5 @@
//go:generate ragel -Z scanner.rl
//go:generate gofmt -w scanner.go
//go:generate goyacc expressions.y

package expression
Expand Down

0 comments on commit a824673

Please sign in to comment.