summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkaa <kaa@disroot.org>2025-07-13 05:49:35 -0700
committerkaa <kaa@disroot.org>2025-07-13 05:49:35 -0700
commit731488806e8ee977e29a1ca06a4f75104fb4f540 (patch)
tree13ef906280ab370de520ae748963e3deb9bcef00 /lib
parent1da8c55994256c3823a0a4cfd8d480c0efef7d7c (diff)
fmt
Diffstat (limited to 'lib')
-rw-r--r--lib/parse/parse.go6
-rw-r--r--lib/parse/parse_test.go2
2 files changed, 4 insertions, 4 deletions
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) {