Change package path

This commit is contained in:
Jason A. Donenfeld 2019-02-18 04:44:41 +01:00
parent f7170e5de2
commit 42c6d0e261
17 changed files with 19 additions and 19 deletions

View file

@ -18,7 +18,7 @@ package main
import (
"errors"
"git.zx2c4.com/wireguard-go/rwcancel"
"golang.zx2c4.com/wireguard/rwcancel"
"golang.org/x/sys/unix"
"net"
"strconv"

View file

@ -6,8 +6,8 @@
package main
import (
"git.zx2c4.com/wireguard-go/ratelimiter"
"git.zx2c4.com/wireguard-go/tun"
"golang.zx2c4.com/wireguard/ratelimiter"
"golang.zx2c4.com/wireguard/tun"
"runtime"
"sync"
"sync/atomic"

2
go.mod
View file

@ -1,4 +1,4 @@
module git.zx2c4.com/wireguard-go
module golang.zx2c4.com/wireguard
require (
github.com/Microsoft/go-winio v0.4.11

View file

@ -8,7 +8,7 @@ package main
import (
"bytes"
"errors"
"git.zx2c4.com/wireguard-go/tun"
"golang.zx2c4.com/wireguard/tun"
"os"
"testing"
)

View file

@ -7,7 +7,7 @@ package main
import (
"crypto/cipher"
"git.zx2c4.com/wireguard-go/replay"
"golang.zx2c4.com/wireguard/replay"
"sync"
"time"
)

View file

@ -9,7 +9,7 @@ package main
import (
"fmt"
"git.zx2c4.com/wireguard-go/tun"
"golang.zx2c4.com/wireguard/tun"
"os"
"os/signal"
"runtime"

View file

@ -11,7 +11,7 @@ import (
"os/signal"
"syscall"
"git.zx2c4.com/wireguard-go/tun"
"golang.zx2c4.com/wireguard/tun"
)
const (

View file

@ -7,7 +7,7 @@ package main
import (
"errors"
"git.zx2c4.com/wireguard-go/tai64n"
"golang.zx2c4.com/wireguard/tai64n"
"golang.org/x/crypto/blake2s"
"golang.org/x/crypto/chacha20poly1305"
"golang.org/x/crypto/poly1305"

2
tun.go
View file

@ -6,7 +6,7 @@
package main
import (
"git.zx2c4.com/wireguard-go/tun"
"golang.zx2c4.com/wireguard/tun"
"sync/atomic"
)

View file

@ -8,7 +8,7 @@ package tun
import (
"errors"
"fmt"
"git.zx2c4.com/wireguard-go/rwcancel"
"golang.zx2c4.com/wireguard/rwcancel"
"golang.org/x/net/ipv6"
"golang.org/x/sys/unix"
"io/ioutil"

View file

@ -9,7 +9,7 @@ import (
"bytes"
"errors"
"fmt"
"git.zx2c4.com/wireguard-go/rwcancel"
"golang.zx2c4.com/wireguard/rwcancel"
"golang.org/x/net/ipv6"
"golang.org/x/sys/unix"
"net"

View file

@ -12,7 +12,7 @@ import (
"bytes"
"errors"
"fmt"
"git.zx2c4.com/wireguard-go/rwcancel"
"golang.zx2c4.com/wireguard/rwcancel"
"golang.org/x/net/ipv6"
"golang.org/x/sys/unix"
"net"

View file

@ -8,7 +8,7 @@ package tun
import (
"errors"
"fmt"
"git.zx2c4.com/wireguard-go/rwcancel"
"golang.zx2c4.com/wireguard/rwcancel"
"golang.org/x/net/ipv6"
"golang.org/x/sys/unix"
"io/ioutil"

View file

@ -11,7 +11,7 @@ import (
"os"
"unsafe"
"git.zx2c4.com/wireguard-go/tun/wintun"
"golang.zx2c4.com/wireguard/tun/wintun"
"golang.org/x/sys/windows"
)

View file

@ -10,7 +10,7 @@ import (
"syscall"
"testing"
"git.zx2c4.com/wireguard-go/tun/wintun/guid"
"golang.zx2c4.com/wireguard/tun/wintun/guid"
"golang.org/x/sys/windows"
)

View file

@ -13,8 +13,8 @@ import (
"time"
"unsafe"
"git.zx2c4.com/wireguard-go/tun/wintun/guid"
"git.zx2c4.com/wireguard-go/tun/wintun/setupapi"
"golang.zx2c4.com/wireguard/tun/wintun/guid"
"golang.zx2c4.com/wireguard/tun/wintun/setupapi"
"golang.org/x/sys/windows"
"golang.org/x/sys/windows/registry"
)

View file

@ -8,7 +8,7 @@ package main
import (
"errors"
"fmt"
"git.zx2c4.com/wireguard-go/rwcancel"
"golang.zx2c4.com/wireguard/rwcancel"
"golang.org/x/sys/unix"
"net"
"os"