summaryrefslogtreecommitdiff
path: root/bitmask_go.go
diff options
context:
space:
mode:
Diffstat (limited to 'bitmask_go.go')
-rw-r--r--bitmask_go.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/bitmask_go.go b/bitmask_go.go
new file mode 100644
index 0000000..38ec289
--- /dev/null
+++ b/bitmask_go.go
@@ -0,0 +1,26 @@
+// +build bitmask_go
+// Copyright (C) 2018 LEAP
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+package main
+
+import (
+ "0xacab.org/leap/bitmask-systray/bitmask"
+ bitmask_go "0xacab.org/leap/bitmask-systray/bitmask_go"
+)
+
+func initBitmask() (bitmask.Bitmask, error) {
+ return bitmask_go.Init()
+}