mirror of https://github.com/tikv/client-go.git
Signed-off-by: disksing <i@disksing.com> |
||
|---|---|---|
| .github | ||
| client | ||
| config | ||
| error | ||
| integration_tests | ||
| kv | ||
| latch | ||
| locate | ||
| logutil | ||
| metrics | ||
| mockstore | ||
| oracle | ||
| retry | ||
| tikv | ||
| tikvrpc | ||
| unionstore | ||
| util | ||
| .gitignore | ||
| .golangci.yml | ||
| LICENSE | ||
| README.md | ||
| go.mod | ||
README.md
TiKV Go Client
TiKV Go Client provides support for interacting with the TiKV server in the form of a Go library.
Package versions
There are 2 major versions of the client-go package.
-
v2is 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 thev2branch. The documentation for this version is below. -
v1is the previous stable version and is only maintained for bug fixes. You can read the documentation here.
Usage/Examples
go get github.com/tikv/client-go/v2@COMMIT_HASH_OR_TAG_VERSION
Running Tests
To run tests, run the following command
go test ./...
Used By
This project is used by the following projects: