diff options
-rw-r--r-- | cmd/pgset/main.go | 6 | ||||
-rw-r--r-- | lib/parse/parse.go | 6 | ||||
-rw-r--r-- | lib/parse/parse_test.go | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/cmd/pgset/main.go b/cmd/pgset/main.go index 1e66c69..f871f2b 100644 --- a/cmd/pgset/main.go +++ b/cmd/pgset/main.go @@ -1,12 +1,12 @@ package main import ( + "fmt" "io" - "os" "log" - "strings" + "os" "pgset/lib/parse" - "fmt" + "strings" ) func main() { diff --git a/lib/parse/parse.go b/lib/parse/parse.go index 15e563c..c3e58aa 100644 --- a/lib/parse/parse.go +++ b/lib/parse/parse.go @@ -1,14 +1,14 @@ package parse import ( + "errors" "fmt" "io" - "errors" ) type Tag struct { - name string - attributes map[string]string + name string + attributes map[string]string } func ReadUntil(r io.Reader, sentinels []byte) (string, byte, error) { diff --git a/lib/parse/parse_test.go b/lib/parse/parse_test.go index 3bc837b..15cf0c8 100644 --- a/lib/parse/parse_test.go +++ b/lib/parse/parse_test.go @@ -1,8 +1,8 @@ package parse import ( - "testing" "strings" + "testing" ) func TestReadUntil(t *testing.T) { |