From 731488806e8ee977e29a1ca06a4f75104fb4f540 Mon Sep 17 00:00:00 2001 From: kaa Date: Sun, 13 Jul 2025 05:49:35 -0700 Subject: fmt --- cmd/pgset/main.go | 6 +++--- lib/parse/parse.go | 6 +++--- 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) { -- cgit v1.2.3