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 ( import (
"errors" "errors"
"git.zx2c4.com/wireguard-go/rwcancel" "golang.zx2c4.com/wireguard/rwcancel"
"golang.org/x/sys/unix" "golang.org/x/sys/unix"
"net" "net"
"strconv" "strconv"

View file

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

2
go.mod
View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

2
tun.go
View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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