Skip to content

Commit 8fd09cd

Browse files
authored
config support both path and names (#683)
Signed-off-by: HuSharp <jinhao.hu@pingcap.com>
1 parent 35416c4 commit 8fd09cd

File tree

15 files changed

+41
-40
lines changed

15 files changed

+41
-40
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v2
1717
with:
18-
go-version: 1.18
18+
go-version: 1.19
1919

2020
- name: Test
2121
run: go test ./...
@@ -28,7 +28,7 @@ jobs:
2828
- name: Set up Go
2929
uses: actions/setup-go@v2
3030
with:
31-
go-version: 1.18
31+
go-version: 1.19
3232

3333
- name: Test with race
3434
run: go test -race ./...
@@ -42,7 +42,7 @@ jobs:
4242
- name: Set up Go
4343
uses: actions/setup-go@v2
4444
with:
45-
go-version: 1.18
45+
go-version: 1.19
4646

4747
- name: Lint
4848
uses: golangci/golangci-lint-action@v2.5.2

examples/gcworker/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module gcworker
22

3-
go 1.18
3+
go 1.19
44

55
require github.com/tikv/client-go/v2 v2.0.0
66

examples/rawkv/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module rawkv
22

3-
go 1.18
3+
go 1.19
44

55
require github.com/tikv/client-go/v2 v2.0.0
66

examples/txnkv/1pc_txn/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module 1pc_txn
22

3-
go 1.18
3+
go 1.19
44

55
require github.com/tikv/client-go/v2 v2.0.0
66

examples/txnkv/async_commit/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module async_commit
22

3-
go 1.18
3+
go 1.19
44

55
require github.com/tikv/client-go/v2 v2.0.0
66

examples/txnkv/delete_range/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module delete_range
22

3-
go 1.18
3+
go 1.19
44

55
require github.com/tikv/client-go/v2 v2.0.0
66

examples/txnkv/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module txnkv
22

3-
go 1.18
3+
go 1.19
44

55
require github.com/tikv/client-go/v2 v2.0.0
66

examples/txnkv/pessimistic_txn/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module pessimistic_txn
22

3-
go 1.18
3+
go 1.19
44

55
require github.com/tikv/client-go/v2 v2.0.0
66

examples/txnkv/unsafedestoryrange/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module unsafedestoryrange
22

3-
go 1.18
3+
go 1.19
44

55
require github.com/tikv/client-go/v2 v2.0.0
66

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/tikv/client-go/v2
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548
@@ -14,16 +14,16 @@ require (
1414
github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c
1515
github.com/pingcap/failpoint v0.0.0-20210918120811-547c13e3eb00
1616
github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989
17-
github.com/pingcap/kvproto v0.0.0-20230119031034-25f1909b7934
17+
github.com/pingcap/kvproto v0.0.0-20230201112839-2b853bed8125
1818
github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3
1919
github.com/pkg/errors v0.9.1
2020
github.com/prometheus/client_golang v1.11.0
2121
github.com/prometheus/client_model v0.2.0
2222
github.com/stathat/consistent v1.0.0
2323
github.com/stretchr/testify v1.8.1
2424
github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a
25-
github.com/tikv/pd v1.1.0-beta.0.20230119114149-402c2bfee2f3
26-
github.com/tikv/pd/client v0.0.0-20230118040950-082fc6a9bc2e
25+
github.com/tikv/pd v1.1.0-beta.0.20230202094356-18df271ce57f
26+
github.com/tikv/pd/client v0.0.0-20230202094356-18df271ce57f
2727
github.com/twmb/murmur3 v1.1.3
2828
go.etcd.io/etcd/api/v3 v3.5.2
2929
go.etcd.io/etcd/client/v3 v3.5.2

0 commit comments

Comments
 (0)