some more fixes

This commit is contained in:
2025-05-10 19:36:58 -04:00
parent f1edc3eca1
commit 54256fd34d
8 changed files with 1152 additions and 41 deletions

View File

@ -2,7 +2,7 @@
.PHONY: all generate clean test
# Variables
GOLANGCI_LINT_VERSION := v1.55.2 # Or your preferred version
GOLANGCI_LINT_VERSION := v1.55.2
all: generate test
@ -18,7 +18,7 @@ clean:
test: generate
@echo "Running tests..."
@go test ./...
@go test -count=1 ./...
lint:
@echo "Running linter..."
@ -27,7 +27,3 @@ lint:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION); \
fi
@golangci-lint run
# Add to go.mod if not already present by go install
# go get google.golang.org/protobuf/cmd/protoc-gen-go
# go get google.golang.org/grpc/cmd/protoc-gen-go-grpc (if you plan to use gRPC services soon)