Skip to content

Commit

Permalink
tikvrpc: avoid data race on XxxRequest.Context (#1242) (#1351)
Browse files Browse the repository at this point in the history
* tikvrpc: avoid data race on `XxxRequest.Context`



* fix grammar of codegen comment



* address comments



* check diff of go generate



* fix a typo



---------

Signed-off-by: zyguan <[email protected]>
  • Loading branch information
zyguan authored May 28, 2024
1 parent 19ed51b commit f41b068
Show file tree
Hide file tree
Showing 5 changed files with 586 additions and 83 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
with:
go-version: 1.21.0

- name: Go generate and check diff
run: |
go generate ./...
git diff --exit-code
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
366 changes: 366 additions & 0 deletions tikvrpc/cmds_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f41b068

Please sign in to comment.