gofmt pass

This commit is contained in:
eanderton
2014-09-04 07:30:19 -04:00
parent 04b60e4f8d
commit 27416cc1b9
5 changed files with 350 additions and 353 deletions
+1 -1
View File
@@ -6,8 +6,8 @@
package jpath package jpath
import ( import (
. "github.com/pelletier/go-toml"
"fmt" "fmt"
. "github.com/pelletier/go-toml"
"regexp" "regexp"
"strconv" "strconv"
"strings" "strings"
-1
View File
@@ -1,4 +1,3 @@
package jpath package jpath
import ( import (
-1
View File
@@ -101,7 +101,6 @@ func matchRecurseFn() PathFn {
} }
} }
func processPath(path QueryPath, context interface{}) []interface{} { func processPath(path QueryPath, context interface{}) []interface{} {
// terminate the path with a collection funciton // terminate the path with a collection funciton
result := []interface{}{} result := []interface{}{}
-1
View File
@@ -55,7 +55,6 @@ func (p *parser) getToken() *token {
return &tok return &tok
} }
func (p *parser) appendPath(fn PathFn) { func (p *parser) appendPath(fn PathFn) {
p.path = append(p.path, fn) p.path = append(p.path, fn)
} }
+1 -1
View File
@@ -2,8 +2,8 @@ package jpath
import ( import (
"fmt" "fmt"
"testing"
. "github.com/pelletier/go-toml" . "github.com/pelletier/go-toml"
"testing"
) )
func assertQuery(t *testing.T, toml, query string, ref []interface{}) { func assertQuery(t *testing.T, toml, query string, ref []interface{}) {