mirror of https://github.com/tikv/client-go.git
parent
e5f932ae27
commit
df187fa79a
10
README.md
10
README.md
|
|
@ -9,26 +9,22 @@ TiKV Go Client provides support for interacting with the [TiKV](https://github.c
|
|||
[](https://github.com/tikv/client-go/actions/workflows/integration.yml)
|
||||
[](https://github.com/tikv/client-go/actions/workflows/compatibility.yml)
|
||||
|
||||
|
||||
## Package versions
|
||||
|
||||
There are 2 major versions of the `client-go` package.
|
||||
|
||||
- `v2` is the new active version. This version was extracted from [pingcap/tidb](https://github.com/pingcap/tidb) and it includes new TiKV features like Follower Read, 1PC, Async Commit. The development of this version is on the `master` branch. The documentation for this version is below.
|
||||
- `v2` is the latest stable version. This version was extracted from [pingcap/tidb](https://github.com/pingcap/tidb) and it includes new TiKV features like Follower Read, 1PC, Async Commit. The development of this version is on the `master` 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](https://tikv.org/docs/4.0/reference/clients/go/).
|
||||
|
||||
```diff
|
||||
- warning: The v2 branch is still being refactored and sorted out, and external interfaces may change before the v2.0.0 release. Please use caution in production environments.
|
||||
```
|
||||
|
||||
## Usage/Examples
|
||||
|
||||
```bash
|
||||
# valid versions be like @latest, @e5f932ae270887550b0cd221343dbd6b870b6c8f, @v2.0.0, @v2.0.1...
|
||||
go get github.com/tikv/client-go/v2@COMMIT_HASH_OR_TAG_VERSION
|
||||
```
|
||||
|
||||
More examples can be found in [examples directory](https://github.com/tikv/client-go/tree/master/examples).
|
||||
Explanation of related concepts and sample code can be found in the [Client-Go Wiki](https://github.com/tikv/client-go/wiki). There are also executable examples in [examples directory](https://github.com/tikv/client-go/tree/master/examples).
|
||||
|
||||
## Contributing to client-go
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue