Skip to content

Commit

Permalink
Fluent Binder for Query/Path/Form binding (labstack#1717) (labstack#1736
Browse files Browse the repository at this point in the history
)

* 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
  • Loading branch information
aldas authored Jan 7, 2021
1 parent 67263b5 commit 9b0e630
Show file tree
Hide file tree
Showing 6 changed files with 4,394 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/echo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
go test -race --coverprofile=coverage.coverprofile --covermode=atomic ./...
- name: Upload coverage to Codecov
if: success() && matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
if: success() && matrix.go == 1.15 && matrix.os == 'ubuntu-latest'
uses: codecov/codecov-action@v1
with:
token:
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,12 @@ test: ## Run tests
race: ## Run tests with data race detector
@go test -race ${PKG_LIST}

benchmark: ## Run benchmarks
@go test -run="-" -bench=".*" ${PKG_LIST}

help: ## Display this help screen
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

goversion ?= "1.12"
test_version: ## Run tests inside Docker with given version (defaults to 1.12 oldest supported). Example: make test_version goversion=1.13
@docker run --rm -it -v $(shell pwd):/project golang:$(goversion) /bin/sh -c "cd /project && make check"
Loading

0 comments on commit 9b0e630

Please sign in to comment.