summaryrefslogtreecommitdiff
path: root/lib/parse
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parse')
-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) {