From b17b81529e16bf1016dbf2ce093c7d1d4b5a357f Mon Sep 17 00:00:00 2001 From: "yulai.li" Date: Mon, 30 Aug 2021 15:59:25 +0800 Subject: [PATCH] Add build tags for TiKV filerstore --- weed/filer/tikv/tikv.go | 5 +++++ weed/filer/tikv/tikv_store.go | 2 ++ weed/filer/tikv/tikv_store_kv.go | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 weed/filer/tikv/tikv.go 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 (