tAvoid using relative imports - tordam - A library for peer discovery inside the Tor network (HTM) git clone https://git.parazyd.org/tordam (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 2deec861ff5a514e499f9c0d3b05a5aa639bc1e0 (DIR) parent c29b9d83726c966bb9b60e61fa1408a13843279c (HTM) Author: parazyd <parazyd@dyne.org> Date: Fri, 8 Dec 2017 02:01:49 +0100 Avoid using relative imports Diffstat: M dam/dam.go | 2 +- M ddir/ddir.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) --- (DIR) diff --git a/dam/dam.go b/dam/dam.go t@@ -8,7 +8,7 @@ import ( "log" "os" - "../lib" + "github.com/parazyd/tor-dam/lib" ) // Bits hold the size of our RSA private key. Tor standard is 1024. (DIR) diff --git a/ddir/ddir.go b/ddir/ddir.go t@@ -11,8 +11,7 @@ import ( "time" "github.com/go-redis/redis" - - "../lib" + "github.com/parazyd/tor-dam/lib" ) // ListenAddress controls where our HTTP API daemon is listening.