Go Native API
Dependencies
- golang >= 1.13
- make >= 3.0
- curl >= 7.1.1
- thrift 0.13.x
- Linux、Macos or other unix-like systems
- Windows+bash (WSL、cygwin、Git Bash)
Installation
export GO111MODULE=onexport GOPROXY=https://goproxy.iomkdir session_example && cd session_examplecurl -o session_example.go -L https://github.com/apache/iotdb-client-go/raw/main/example/session_example.gogo mod init session_examplego run session_example.go
# get thrift 0.13.0go get github.com/apache/thriftcd $GOPATH/src/github.com/apache/thriftgit checkout 0.13.0mkdir -p $GOPATH/src/iotdb-client-go-example/session_examplecd $GOPATH/src/iotdb-client-go-example/session_examplecurl -o session_example.go -L https://github.com/apache/iotdb-client-go/raw/main/example/session_example.gogo run session_example.go