From bffe99aeadae09abd02f2bd3184925af6b680535 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 12 Feb 2018 20:10:44 +0100 Subject: Don't use modules Feel free to revert this if you have a strong feeling about it. But so far as I can see, it adds a lot of complexity for basically no upsides. --- device.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'device.go') diff --git a/device.go b/device.go index 9f93f21..6324948 100644 --- a/device.go +++ b/device.go @@ -1,7 +1,6 @@ package main import ( - "git.zx2c4.com/wireguard-go/internal/ratelimiter" "runtime" "sync" "sync/atomic" @@ -51,7 +50,7 @@ type Device struct { rate struct { underLoadUntil atomic.Value - limiter ratelimiter.Ratelimiter + limiter Ratelimiter } pool struct { -- cgit v1.2.3