forked from valkey-io/valkey-glide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go client: Adding a skeleton to create client connection and invoke S…
…ET and GET commands. (valkey-io#1937) * Go: create client connection (valkey-io#1303) * Go: Implement benchmarking (valkey-io#1330) * Update DEVELOPER.md with instructions to extend LD_LIBRARY_PATH on ubuntu/centos * Go: Fix bug with -clients=all setting (valkey-io#1339) * Go: Fixes a bug where the benchmarks were ran twice for go-redis when the -clients option was set to "all" * Go: update protobuf version to address dependabot alert (valkey-io#1352) * Go client: Preparing the skeleton code to create the client connection and invoke set and get commands Signed-off-by: Janhavi Gupta <[email protected]> --------- Signed-off-by: Janhavi Gupta <[email protected]> Co-authored-by: Andrew Carbonetto <[email protected]> Co-authored-by: Aaron <[email protected]> Co-authored-by: aaron-congo <[email protected]>
- Loading branch information
1 parent
0f00fd6
commit 322d8d7
Showing
30 changed files
with
2,193 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
install-build-tools: | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
cargo install cbindgen | ||
|
||
install-dev-tools-go1.18.10: | ||
install-dev-tools-go1.18: | ||
go install github.com/vakenbolt/[email protected] | ||
go install mvdan.cc/[email protected] | ||
go install github.com/segmentio/[email protected] | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
cargo install cbindgen | ||
|
||
install-dev-tools-go1.22.0: | ||
install-dev-tools-go1.18.10: install-dev-tools-go1.18 | ||
|
||
install-dev-tools-go1.22: | ||
go install github.com/vakenbolt/[email protected] | ||
go install mvdan.cc/[email protected] | ||
go install github.com/segmentio/[email protected] | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
cargo install cbindgen | ||
|
||
install-dev-tools-go1.22.0: install-dev-tools-go1.22 | ||
|
||
install-dev-tools: install-dev-tools-go1.22.0 | ||
|
||
|
@@ -55,8 +58,12 @@ format: | |
golines -w --shorten-comments -m 127 . | ||
|
||
test: | ||
LD_LIBRARY_PATH=$(shell find . -name libglide_rs.so|tail -1|xargs dirname|xargs readlink -f):${LD_LIBRARY_PATH} \ | ||
go test -v -race ./... | ||
|
||
# Note: this task is no longer run by CI because: | ||
# - build failures that occur while running the task can be hidden by the task; CI still reports success in these scenarios. | ||
# - there is not a good way to both generate a test report and log the test outcomes to GH actions. | ||
test-and-report: | ||
mkdir -p reports | ||
go test -v -race ./... -json | go-test-report -o reports/test-report.html |
Oops, something went wrong.