change paths to golang.org/x/, fails to build because cascadia has to switch too

This commit is contained in:
Martin Angers
2014-11-05 20:30:33 -05:00
parent 12a8512778
commit 040cf98281
10 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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]")
+1 -1
View File
@@ -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
+2 -1
View File
@@ -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
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"os"
"testing"
"code.google.com/p/go.net/html"
"golang.org/x/net/html"
)
// Test helper functions and members
+1 -1
View File
@@ -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) {