diff options
author | Ruben Pollan <meskio@sindominio.net> | 2019-01-16 23:10:40 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2019-01-17 12:31:41 +0100 |
commit | 2acbb45cb534a479275c378683df34b87fe5dae9 (patch) | |
tree | 5e9ac0d703c4a29da6a5ff5f4cce7fd57d338f87 | |
parent | b1247d2d0d51108c910a73891ff3116e5f032ab1 (diff) |
[refactor] rename the imports into bitmask-vpn
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | cmd/bitmask-connect/main.go | 4 | ||||
-rw-r--r-- | cmd/bitmask-helper/main.go | 4 | ||||
-rw-r--r-- | cmd/bitmask-vpn/main.go | 4 | ||||
-rw-r--r-- | pkg/bitmask/bitmaskd.go | 2 | ||||
-rw-r--r-- | pkg/bitmask/standalone.go | 2 | ||||
-rw-r--r-- | pkg/bitmaskd/main.go | 2 | ||||
-rw-r--r-- | pkg/helper/darwin.go | 2 | ||||
-rw-r--r-- | pkg/helper/linux.go | 2 | ||||
-rw-r--r-- | pkg/helper/windows.go | 2 | ||||
-rw-r--r-- | pkg/standalone/bonafide.go | 2 | ||||
-rw-r--r-- | pkg/standalone/launcher_linux.go | 2 | ||||
-rw-r--r-- | pkg/standalone/main.go | 2 | ||||
-rw-r--r-- | pkg/systray/config.go | 2 | ||||
-rw-r--r-- | pkg/systray/notificator.go | 2 | ||||
-rw-r--r-- | pkg/systray/pid.go | 2 | ||||
-rw-r--r-- | pkg/systray/run.go | 4 | ||||
-rw-r--r-- | pkg/systray/signal_unix.go | 2 | ||||
-rw-r--r-- | pkg/systray/signal_windows.go | 2 | ||||
-rw-r--r-- | pkg/systray/systray.go | 6 |
20 files changed, 27 insertions, 27 deletions
@@ -8,7 +8,7 @@ Install dependencies: Build the systray: ``` - $ git clone 0xacab.org/leap/bitmask-systray + $ git clone 0xacab.org/leap/bitmask-vpn $ cd bitmask-systray $ go get . $ go build @@ -26,7 +26,7 @@ Using homebrew: ``` $ brew install golang zmq pkg-config $ brew install --default-names gnu-sed - $ git clone 0xacab.org/leap/bitmask-systray + $ git clone 0xacab.org/leap/bitmask-vpn $ cd bitmask-systray $ go get . $ go build diff --git a/cmd/bitmask-connect/main.go b/cmd/bitmask-connect/main.go index 158f422..9046d5c 100644 --- a/cmd/bitmask-connect/main.go +++ b/cmd/bitmask-connect/main.go @@ -22,8 +22,8 @@ import ( "os" "os/signal" - "0xacab.org/leap/bitmask-systray/pkg/bitmask" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/bitmask" + "0xacab.org/leap/bitmask-vpn/pkg/config" "golang.org/x/text/language" "golang.org/x/text/message" ) diff --git a/cmd/bitmask-helper/main.go b/cmd/bitmask-helper/main.go index 9673763..ce32b4e 100644 --- a/cmd/bitmask-helper/main.go +++ b/cmd/bitmask-helper/main.go @@ -19,8 +19,8 @@ import ( "log" "path" - "0xacab.org/leap/bitmask-systray/pkg/config" - "0xacab.org/leap/bitmask-systray/pkg/helper" + "0xacab.org/leap/bitmask-vpn/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/helper" ) const ( diff --git a/cmd/bitmask-vpn/main.go b/cmd/bitmask-vpn/main.go index 08ccbf1..a9b2389 100644 --- a/cmd/bitmask-vpn/main.go +++ b/cmd/bitmask-vpn/main.go @@ -23,8 +23,8 @@ import ( "path" "runtime" - "0xacab.org/leap/bitmask-systray/pkg/config" - "0xacab.org/leap/bitmask-systray/pkg/systray" + "0xacab.org/leap/bitmask-vpn/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/systray" "github.com/jmshal/go-locale" "golang.org/x/text/message" ) diff --git a/pkg/bitmask/bitmaskd.go b/pkg/bitmask/bitmaskd.go index ad4da31..04b965c 100644 --- a/pkg/bitmask/bitmaskd.go +++ b/pkg/bitmask/bitmaskd.go @@ -20,7 +20,7 @@ import ( "errors" "log" - "0xacab.org/leap/bitmask-systray/pkg/bitmaskd" + "0xacab.org/leap/bitmask-vpn/pkg/bitmaskd" "golang.org/x/text/message" ) diff --git a/pkg/bitmask/standalone.go b/pkg/bitmask/standalone.go index f3f7602..8ae6f39 100644 --- a/pkg/bitmask/standalone.go +++ b/pkg/bitmask/standalone.go @@ -24,7 +24,7 @@ import ( "path/filepath" "regexp" - "0xacab.org/leap/bitmask-systray/pkg/standalone" + "0xacab.org/leap/bitmask-vpn/pkg/standalone" pmautostart "github.com/ProtonMail/go-autostart" "golang.org/x/text/message" ) diff --git a/pkg/bitmaskd/main.go b/pkg/bitmaskd/main.go index f2ca650..b0d0349 100644 --- a/pkg/bitmaskd/main.go +++ b/pkg/bitmaskd/main.go @@ -25,7 +25,7 @@ import ( "path" "time" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" ) const ( diff --git a/pkg/helper/darwin.go b/pkg/helper/darwin.go index ff4ae4d..49924e5 100644 --- a/pkg/helper/darwin.go +++ b/pkg/helper/darwin.go @@ -36,7 +36,7 @@ import ( "path" "strings" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" "github.com/sevlyar/go-daemon" ) diff --git a/pkg/helper/linux.go b/pkg/helper/linux.go index 79d301d..8ee3037 100644 --- a/pkg/helper/linux.go +++ b/pkg/helper/linux.go @@ -21,7 +21,7 @@ import ( "os" "os/exec" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" ) const ( diff --git a/pkg/helper/windows.go b/pkg/helper/windows.go index 4e4e89d..bc86e79 100644 --- a/pkg/helper/windows.go +++ b/pkg/helper/windows.go @@ -21,7 +21,7 @@ import ( "os" "os/exec" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" ) const ( diff --git a/pkg/standalone/bonafide.go b/pkg/standalone/bonafide.go index a0ed3b6..ac09362 100644 --- a/pkg/standalone/bonafide.go +++ b/pkg/standalone/bonafide.go @@ -30,7 +30,7 @@ import ( "strings" "time" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" ) const ( diff --git a/pkg/standalone/launcher_linux.go b/pkg/standalone/launcher_linux.go index b7e5f3d..b211b70 100644 --- a/pkg/standalone/launcher_linux.go +++ b/pkg/standalone/launcher_linux.go @@ -22,7 +22,7 @@ import ( "os" "os/exec" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" ) const ( diff --git a/pkg/standalone/main.go b/pkg/standalone/main.go index d5618e5..319af79 100644 --- a/pkg/standalone/main.go +++ b/pkg/standalone/main.go @@ -20,7 +20,7 @@ import ( "log" "os" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" "github.com/apparentlymart/go-openvpn-mgmt/openvpn" ) diff --git a/pkg/systray/config.go b/pkg/systray/config.go index 1bacb1b..c40a279 100644 --- a/pkg/systray/config.go +++ b/pkg/systray/config.go @@ -21,7 +21,7 @@ import ( "path" "time" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" "golang.org/x/text/message" ) diff --git a/pkg/systray/notificator.go b/pkg/systray/notificator.go index 754a2e8..80d08c2 100644 --- a/pkg/systray/notificator.go +++ b/pkg/systray/notificator.go @@ -22,7 +22,7 @@ import ( "runtime" "time" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" "0xacab.org/leap/go-dialog" "github.com/skratchdot/open-golang/open" ) diff --git a/pkg/systray/pid.go b/pkg/systray/pid.go index 6a1b32c..ba3a6f3 100644 --- a/pkg/systray/pid.go +++ b/pkg/systray/pid.go @@ -10,7 +10,7 @@ import ( "strings" "syscall" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/config" "github.com/mitchellh/go-ps" ) diff --git a/pkg/systray/run.go b/pkg/systray/run.go index 73dc853..8877d64 100644 --- a/pkg/systray/run.go +++ b/pkg/systray/run.go @@ -19,8 +19,8 @@ import ( "log" "os" - "0xacab.org/leap/bitmask-systray/pkg/bitmask" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/pkg/bitmask" + "0xacab.org/leap/bitmask-vpn/pkg/config" ) func Run(conf *Config) { diff --git a/pkg/systray/signal_unix.go b/pkg/systray/signal_unix.go index 06b59ae..d9e784d 100644 --- a/pkg/systray/signal_unix.go +++ b/pkg/systray/signal_unix.go @@ -21,7 +21,7 @@ import ( "os/signal" "syscall" - "0xacab.org/leap/bitmask-systray/pkg/bitmask" + "0xacab.org/leap/bitmask-vpn/pkg/bitmask" ) func listenSignals(bm bitmask.Bitmask) { diff --git a/pkg/systray/signal_windows.go b/pkg/systray/signal_windows.go index f96212c..ac0528c 100644 --- a/pkg/systray/signal_windows.go +++ b/pkg/systray/signal_windows.go @@ -17,7 +17,7 @@ package systray import ( - "0xacab.org/leap/bitmask-systray/pkg/bitmask" + "0xacab.org/leap/bitmask-vpn/pkg/bitmask" ) func listenSignals(bm bitmask.Bitmask) { diff --git a/pkg/systray/systray.go b/pkg/systray/systray.go index 29e798d..11ed8c3 100644 --- a/pkg/systray/systray.go +++ b/pkg/systray/systray.go @@ -22,9 +22,9 @@ import ( "os/signal" "time" - "0xacab.org/leap/bitmask-systray/icon" - "0xacab.org/leap/bitmask-systray/pkg/bitmask" - "0xacab.org/leap/bitmask-systray/pkg/config" + "0xacab.org/leap/bitmask-vpn/icon" + "0xacab.org/leap/bitmask-vpn/pkg/bitmask" + "0xacab.org/leap/bitmask-vpn/pkg/config" "github.com/getlantern/systray" "github.com/skratchdot/open-golang/open" ) |