diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-02-12 23:48:09 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-02-12 23:49:41 +0100 |
commit | ff8f3a412ebf3b83b2d67fdafcc3311800fd39ee (patch) | |
tree | c384d62c158874ca6ebcc25a37cf80a18c56330a | |
parent | ea4ea6f9334b8979bec6a881d7f94d7fa94e9b9c (diff) |
Use relative imports
-rw-r--r-- | cookie.go | 2 | ||||
-rw-r--r-- | device.go | 2 | ||||
-rw-r--r-- | noise-protocol.go | 2 | ||||
-rw-r--r-- | ratelimiter/ratelimiter.go (renamed from internal/ratelimiter/ratelimiter.go) | 0 | ||||
-rw-r--r-- | ratelimiter/ratelimiter_test.go (renamed from internal/ratelimiter/ratelimiter_test.go) | 0 | ||||
-rw-r--r-- | tai64n/tai64n.go (renamed from internal/tai64n/tai64n.go) | 0 | ||||
-rw-r--r-- | tai64n/tai64n_test.go (renamed from internal/tai64n/tai64n_test.go) | 0 | ||||
-rw-r--r-- | xchacha20poly1305/xchacha20.go (renamed from internal/xchacha20poly1305/xchacha20.go) | 0 | ||||
-rw-r--r-- | xchacha20poly1305/xchacha20_test.go (renamed from internal/xchacha20poly1305/xchacha20_test.go) | 0 |
9 files changed, 3 insertions, 3 deletions
@@ -1,9 +1,9 @@ package main import ( + "./xchacha20poly1305" "crypto/hmac" "crypto/rand" - "git.zx2c4.com/wireguard-go/internal/xchacha20poly1305" "golang.org/x/crypto/blake2s" "golang.org/x/crypto/chacha20poly1305" "sync" @@ -1,7 +1,7 @@ package main import ( - "git.zx2c4.com/wireguard-go/internal/ratelimiter" + "./ratelimiter" "runtime" "sync" "sync/atomic" diff --git a/noise-protocol.go b/noise-protocol.go index df08a0a..6440c97 100644 --- a/noise-protocol.go +++ b/noise-protocol.go @@ -1,8 +1,8 @@ package main import ( + "./tai64n" "errors" - "git.zx2c4.com/wireguard-go/internal/tai64n" "golang.org/x/crypto/blake2s" "golang.org/x/crypto/chacha20poly1305" "golang.org/x/crypto/poly1305" diff --git a/internal/ratelimiter/ratelimiter.go b/ratelimiter/ratelimiter.go index 006900a..006900a 100644 --- a/internal/ratelimiter/ratelimiter.go +++ b/ratelimiter/ratelimiter.go diff --git a/internal/ratelimiter/ratelimiter_test.go b/ratelimiter/ratelimiter_test.go index 37339ee..37339ee 100644 --- a/internal/ratelimiter/ratelimiter_test.go +++ b/ratelimiter/ratelimiter_test.go diff --git a/internal/tai64n/tai64n.go b/tai64n/tai64n.go index da5257c..da5257c 100644 --- a/internal/tai64n/tai64n.go +++ b/tai64n/tai64n.go diff --git a/internal/tai64n/tai64n_test.go b/tai64n/tai64n_test.go index 389b65c..389b65c 100644 --- a/internal/tai64n/tai64n_test.go +++ b/tai64n/tai64n_test.go diff --git a/internal/xchacha20poly1305/xchacha20.go b/xchacha20poly1305/xchacha20.go index a6e59f0..a6e59f0 100644 --- a/internal/xchacha20poly1305/xchacha20.go +++ b/xchacha20poly1305/xchacha20.go diff --git a/internal/xchacha20poly1305/xchacha20_test.go b/xchacha20poly1305/xchacha20_test.go index 5d5b78f..5d5b78f 100644 --- a/internal/xchacha20poly1305/xchacha20_test.go +++ b/xchacha20poly1305/xchacha20_test.go |