diff options
author | kaa <kaa@disroot.org> | 2025-07-13 05:49:35 -0700 |
---|---|---|
committer | kaa <kaa@disroot.org> | 2025-07-13 05:49:35 -0700 |
commit | 731488806e8ee977e29a1ca06a4f75104fb4f540 (patch) | |
tree | 13ef906280ab370de520ae748963e3deb9bcef00 | |
parent | 1da8c55994256c3823a0a4cfd8d480c0efef7d7c (diff) |
fmt
-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) { |