aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/filer/tikv/tikv.go5
-rw-r--r--weed/filer/tikv/tikv_store.go2
-rw-r--r--weed/filer/tikv/tikv_store_kv.go2
3 files changed, 9 insertions, 0 deletions
diff --git a/weed/filer/tikv/tikv.go b/weed/filer/tikv/tikv.go
new file mode 100644
index 000000000..8bb5dc577
--- /dev/null
+++ b/weed/filer/tikv/tikv.go
@@ -0,0 +1,5 @@
+package tikv
+
+/*
+ * This empty file is let go build can work without tikv tag
+ */
diff --git a/weed/filer/tikv/tikv_store.go b/weed/filer/tikv/tikv_store.go
index e85f7a740..4a8e8784d 100644
--- a/weed/filer/tikv/tikv_store.go
+++ b/weed/filer/tikv/tikv_store.go
@@ -1,3 +1,5 @@
+// +build tikv
+
package tikv
import (
diff --git a/weed/filer/tikv/tikv_store_kv.go b/weed/filer/tikv/tikv_store_kv.go
index dcc9acf8c..3fed7e045 100644
--- a/weed/filer/tikv/tikv_store_kv.go
+++ b/weed/filer/tikv/tikv_store_kv.go
@@ -1,3 +1,5 @@
+// +build tikv
+
package tikv
import (