diff --git a/sdk/client.go b/sdk/client.go index c1a3b91db2..339fc9c309 100644 --- a/sdk/client.go +++ b/sdk/client.go @@ -41,14 +41,8 @@ import ( "github.com/opentracing/opentracing-go/ext" ) -var debug utils.Debug +var debug = utils.Init("sdk") -func init() { - debug = utils.Init("sdk") -} - -// Version this value will be replaced while build: -ldflags="-X sdk.version=x.x.x" -var Version = "0.0.1" var defaultConnectTimeout = 5 * time.Second var defaultReadTimeout = 10 * time.Second diff --git a/sdk/version.go b/sdk/version.go new file mode 100644 index 0000000000..19c67d60d5 --- /dev/null +++ b/sdk/version.go @@ -0,0 +1,4 @@ +package sdk + +// Follow the latest version +const Version = "1.63.22"