conditionally build elastic, gocdk to reduce binary size

This commit is contained in:
chrislu
2022-04-21 01:10:46 -07:00
parent 6994e88192
commit 3885374edf
10 changed files with 137 additions and 72 deletions

View File

@@ -0,0 +1,9 @@
/*
Package elastic is for elastic filer store.
The referenced "github.com/olivere/elastic/v7" library is too big when compiled.
So this is only compiled in "make full_install".
*/
package elastic

View File

@@ -1,3 +1,6 @@
//go:build elastic
// +build elastic
package elastic
import (

View File

@@ -1,3 +1,6 @@
//go:build elastic
// +build elastic
package elastic
import (