Skip to content

Commit 9b0e630

Browse files
authored
Fluent Binder for Query/Path/Form binding (#1717) (#1736)
* Fluent Binder for Query/Path/Form binding. * CI: report coverage for latest go (1.15) version * improve docs, remove uncommented code * separate unixtime with sec and nanosec precision binding
1 parent 67263b5 commit 9b0e630

File tree

6 files changed

+4394
-1
lines changed

6 files changed

+4394
-1
lines changed

.github/workflows/echo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
6060
6161
- name: Upload coverage to Codecov
62-
if: success() && matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
62+
if: success() && matrix.go == 1.15 && matrix.os == 'ubuntu-latest'
6363
uses: codecov/codecov-action@v1
6464
with:
6565
token:

Makefile

+7
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,12 @@ test: ## Run tests
2323
race: ## Run tests with data race detector
2424
@go test -race ${PKG_LIST}
2525

26+
benchmark: ## Run benchmarks
27+
@go test -run="-" -bench=".*" ${PKG_LIST}
28+
2629
help: ## Display this help screen
2730
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
31+
32+
goversion ?= "1.12"
33+
test_version: ## Run tests inside Docker with given version (defaults to 1.12 oldest supported). Example: make test_version goversion=1.13
34+
@docker run --rm -it -v $(shell pwd):/project golang:$(goversion) /bin/sh -c "cd /project && make check"

0 commit comments

Comments
 (0)