driver-go is the official Go language connector for TDengine. It implements the Go language database/sql interface,
allowing Go developers to create applications that interact with TDengine clusters.
2. Documentation
To use Go connector, please check Developer Guide, which includes how an
application can introduce the driver-go, as well as examples of data writing, querying, schemaless writing,
parameter binding, and data subscription.
For other reference information, please
check Reference Manual, which includes version
history, data types, example programs, API descriptions, and FAQs.
This quick guide is mainly for developers who like to contribute/build/test the Go connector by themselves. To learn
about TDengine, you can visit the official documentation.
3. Prerequisites
System Requirements
Go >= 1.14 (1.23+ recommended)
For native connector: TDengine client library (libtaos.so)
For REST/WebSocket connector: no native library needed
After submitting the PR, you can find your PR through
the Pull Request. Click on the corresponding link to see if the CI for
your PR has passed. If it has passed, it will display "All checks have passed". Regardless of whether the CI passes
or not, you can click "Show all checks" -> "Details" to view the detailed test case logs.
After submitting the PR, if the CI passes, you can find your PR on
the codecov page to check the coverage.