TiKV Go Client provides support for interacting with the TiKV server in the form of a Go library.
There are 2 major versions of the client-go
package.
-
v2
is the new stable and active version. This version was extracted from pingcap/tidb and it includes new TiKV features like Follower Read, 1PC, Async Commit. The development of this version is on thev2
branch. The documentation for this version is below. -
v1
is the previous stable version and is only maintained for bug fixes. You can read the documentation here.
go get github.com/tikv/client-go/v2@COMMIT_HASH_OR_TAG_VERSION
To run tests, run the following command
go test ./...
This project is used by the following projects: