This commit is contained in:
2025-07-20 12:12:14 +02:00
commit 971068ea03
13 changed files with 1749 additions and 0 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
.PHONY: test lint check-fmt fmt
test: lint check-fmt
go test -v ./...
lint:
golangci-lint run
check-fmt:
@if [ -n "$$(gofmt -l .)" ]; then \
echo "Go code is not formatted:"; \
gofmt -l .; \
exit 1; \
fi
fmt:
go fmt ./...