diff options
| author | yulai.li <blacktear23@gmail.com> | 2021-08-30 15:59:25 +0800 |
|---|---|---|
| committer | yulai.li <blacktear23@gmail.com> | 2021-08-30 15:59:25 +0800 |
| commit | b17b81529e16bf1016dbf2ce093c7d1d4b5a357f (patch) | |
| tree | 0026911da43da01a5989e5a72e02bc59ec16a7dd | |
| parent | e5f9ff983d7153ec9c3966d896c69c3901a873fc (diff) | |
| download | seaweedfs-b17b81529e16bf1016dbf2ce093c7d1d4b5a357f.tar.xz seaweedfs-b17b81529e16bf1016dbf2ce093c7d1d4b5a357f.zip | |
Add build tags for TiKV filerstore
| -rw-r--r-- | weed/filer/tikv/tikv.go | 5 | ||||
| -rw-r--r-- | weed/filer/tikv/tikv_store.go | 2 | ||||
| -rw-r--r-- | weed/filer/tikv/tikv_store_kv.go | 2 |
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 ( |
