FIx shared structs + add better debugging/linting (#379)
* fix: Fixes issues w/ shared pointers to structs (#378) * feat: Adds even better debugging and linting support (#376) This is a #PATCH release.
This commit is contained in:
committed by
GitHub
parent
c3d7f26e3c
commit
5c9b88db4f
5
.github/CONTRIBUTING.md
vendored
5
.github/CONTRIBUTING.md
vendored
@@ -31,11 +31,12 @@ If you are making changes to the Go codebase, don't forget to run `make compile`
|
||||
|
||||
3. Apply formatters and linters to your changes
|
||||
|
||||
For changes to the Go codebase: We use <a href="https://pkg.go.dev/cmd/gofmt">gofmt</a> to check formatting and <a href="https://github.com/golangci/golangci-lint">golangci-lint</a> to check linting. Run these commands in the root of the repository:
|
||||
For changes to the Go codebase: We use <a href="https://pkg.go.dev/cmd/gofmt">gofmt</a> to check formatting and <a href="https://github.com/golangci/golangci-lint">golangci-lint</a> to check linting, and <a href="https://staticcheck.dev/">staticcheck</a>. Run these commands in the root of the repository:
|
||||
|
||||
```bash
|
||||
$ go fmt ./...
|
||||
$ golangci-lint run
|
||||
$ golangci-lint run ./...
|
||||
$ staticcheck ./...
|
||||
```
|
||||
|
||||
If you are writing tests and have added something to the Go client, you can test with:
|
||||
|
||||
Reference in New Issue
Block a user