Skip to content

Commit 333d5c2

Browse files
committed
update: replace xquery with xmlquery & htmlquery
1 parent 5da7326 commit 333d5c2

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

Gopkg.lock

Lines changed: 13 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/get_started/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88

99
"github.com/antchfx/antch"
10-
"github.com/antchfx/xquery/html"
10+
"github.com/antchfx/htmlquery"
1111
)
1212

1313
type item struct {

html.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"mime"
88
"net/http"
99

10-
"github.com/antchfx/xquery/html"
10+
"github.com/antchfx/htmlquery"
1111
"golang.org/x/net/html"
1212
"golang.org/x/net/html/charset"
1313
"golang.org/x/text/encoding"

html_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/antchfx/xquery/html"
9+
"github.com/antchfx/htmlquery"
1010
)
1111

1212
func TestMediaTypeParse(t *testing.T) {

xml.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package antch
33
import (
44
"net/http"
55

6-
"github.com/antchfx/xquery/xml"
6+
"github.com/antchfx/xmlquery"
77
)
88

99
// ParseXML parses an HTTP response as XML document.

0 commit comments

Comments
 (0)