Change the import path for go.net.

The Go developers decided to move the go.net repository to
golang.org/x/net, and also to transition from hg to git.  This wasn't
changed when the go.crypto imports were since the 'proxy' component
doesn't have imports that break, so the old code still works.

While the change here is simple (just update the import location), this
affects packagers as it now expects the updated package.  Sorry for the
inconveneince, I blame the Go people, and myself for not just doing
this along with the go.crypto changes.
merge-requests/3/head
Yawning Angel 9 years ago
parent 594d45be02
commit aed4b72389

@ -1,5 +1,6 @@
Changes in version 0.0.5 - UNRELEASED:
- Go vet/fmt fixes, and misc. code cleanups. Patches by mvdan.
- Changed the go.net import path to the new location (golang.org/x/net).
Changes in version 0.0.4 - 2015-02-17
- Improve the runtime performance of the obfs4 handshake tests.

@ -35,7 +35,7 @@ listed for clarity.
* Go 1.2.0 or later. Prior versions of Go (Eg: 1.0.2) are missing certain
important parts of the runtime library like a SHA256 implementation.
* go.crypto (https://golang.org/x/crypto)
* go.net (https://code.google.com/p/go.net)
* go.net (https://golang.org/x/net)
* ed25519/extra25519 (https://github.com/agl/ed25519/extra25519)
* SipHash-2-4 (https://github.com/dchest/siphash)
* goptlib (https://git.torproject.org/pluggable-transports/goptlib.git)

@ -43,7 +43,7 @@ import (
"sync"
"syscall"
"code.google.com/p/go.net/proxy"
"golang.org/x/net/proxy"
"git.torproject.org/pluggable-transports/goptlib.git"
"git.torproject.org/pluggable-transports/obfs4.git/transports"

@ -36,7 +36,7 @@ import (
"net/url"
"time"
"code.google.com/p/go.net/proxy"
"golang.org/x/net/proxy"
)
// httpProxy is a HTTP connect proxy.

@ -41,7 +41,7 @@ import (
"net/url"
"strconv"
"code.google.com/p/go.net/proxy"
"golang.org/x/net/proxy"
)
// socks4Proxy is a SOCKS4 proxy.

Loading…
Cancel
Save