Use relative imports

This commit is contained in:
Jason A. Donenfeld 2018-02-12 23:48:09 +01:00
parent ea4ea6f933
commit ff8f3a412e
9 changed files with 3 additions and 3 deletions

View file

@ -1,9 +1,9 @@
package main package main
import ( import (
"./xchacha20poly1305"
"crypto/hmac" "crypto/hmac"
"crypto/rand" "crypto/rand"
"git.zx2c4.com/wireguard-go/internal/xchacha20poly1305"
"golang.org/x/crypto/blake2s" "golang.org/x/crypto/blake2s"
"golang.org/x/crypto/chacha20poly1305" "golang.org/x/crypto/chacha20poly1305"
"sync" "sync"

View file

@ -1,7 +1,7 @@
package main package main
import ( import (
"git.zx2c4.com/wireguard-go/internal/ratelimiter" "./ratelimiter"
"runtime" "runtime"
"sync" "sync"
"sync/atomic" "sync/atomic"

View file

@ -1,8 +1,8 @@
package main package main
import ( import (
"./tai64n"
"errors" "errors"
"git.zx2c4.com/wireguard-go/internal/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"