From 040cf98281f1e667851b9fef8165d8ec70b1a0da Mon Sep 17 00:00:00 2001 From: Martin Angers Date: Wed, 5 Nov 2014 20:30:33 -0500 Subject: [PATCH] change paths to golang.org/x/, fails to build because cascadia has to switch too --- array.go | 2 +- expand.go | 2 +- filter.go | 2 +- iteration_test.go | 2 +- property.go | 2 +- query.go | 2 +- traversal.go | 2 +- type.go | 3 ++- type_test.go | 2 +- utilities.go | 2 +- 10 files changed, 11 insertions(+), 10 deletions(-) diff --git a/array.go b/array.go index c9899b4..c32b940 100644 --- a/array.go +++ b/array.go @@ -1,7 +1,7 @@ package goquery import ( - "code.google.com/p/go.net/html" + "golang.org/x/net/html" ) // First reduces the set of matched elements to the first in the set. diff --git a/expand.go b/expand.go index 96075c9..b4421a3 100644 --- a/expand.go +++ b/expand.go @@ -1,7 +1,7 @@ package goquery import ( - "code.google.com/p/go.net/html" + "golang.org/x/net/html" ) // Add adds the selector string's matching nodes to those in the current diff --git a/filter.go b/filter.go index c79cafe..941b8c2 100644 --- a/filter.go +++ b/filter.go @@ -2,7 +2,7 @@ package goquery import ( "code.google.com/p/cascadia" - "code.google.com/p/go.net/html" + "golang.org/x/net/html" ) // Filter reduces the set of matched elements to those that match the selector string. diff --git a/iteration_test.go b/iteration_test.go index fc18855..b084fe8 100644 --- a/iteration_test.go +++ b/iteration_test.go @@ -3,7 +3,7 @@ package goquery import ( "testing" - "code.google.com/p/go.net/html" + "golang.org/x/net/html" ) func TestEach(t *testing.T) { diff --git a/property.go b/property.go index 4794404..2564edc 100644 --- a/property.go +++ b/property.go @@ -3,7 +3,7 @@ package goquery import ( "bytes" - "code.google.com/p/go.net/html" + "golang.org/x/net/html" ) // Attr gets the specified attribute's value for the first element in the diff --git a/query.go b/query.go index 8d079a0..690f2f1 100644 --- a/query.go +++ b/query.go @@ -5,7 +5,7 @@ import ( "strings" "code.google.com/p/cascadia" - "code.google.com/p/go.net/html" + "golang.org/x/net/html" ) var rxClassTrim = regexp.MustCompile("[\t\r\n]") diff --git a/traversal.go b/traversal.go index 8fbeddf..20cf637 100644 --- a/traversal.go +++ b/traversal.go @@ -2,7 +2,7 @@ package goquery import ( "code.google.com/p/cascadia" - "code.google.com/p/go.net/html" + "golang.org/x/net/html" ) type siblingType int diff --git a/type.go b/type.go index e253a75..d093725 100644 --- a/type.go +++ b/type.go @@ -1,11 +1,12 @@ package goquery import ( - "code.google.com/p/go.net/html" "errors" "io" "net/http" "net/url" + + "golang.org/x/net/html" ) // Document represents an HTML document to be manipulated. Unlike jQuery, which diff --git a/type_test.go b/type_test.go index 410a095..57f3891 100644 --- a/type_test.go +++ b/type_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "code.google.com/p/go.net/html" + "golang.org/x/net/html" ) // Test helper functions and members diff --git a/utilities.go b/utilities.go index c1b6f26..aa509e6 100644 --- a/utilities.go +++ b/utilities.go @@ -1,7 +1,7 @@ package goquery import ( - "code.google.com/p/go.net/html" + "golang.org/x/net/html" ) func getChildren(n *html.Node) (result []*html.Node) {