Skip to content

Commit

Permalink
Merge pull request #22 from bmf-san/feature/update-packages
Browse files Browse the repository at this point in the history
Update some packages
  • Loading branch information
bmf-san committed Jun 13, 2023
2 parents d67afea + fc83e76 commit 27cb259
Show file tree
Hide file tree
Showing 27 changed files with 501 additions and 445 deletions.
23 changes: 9 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
default: true
docker:
- image: "cimg/go:<< parameters.version >>"
working_directory: ~/go/src/github.com/bmf-san/goblin
working_directory: ~/go/src/github.com/bmf-san/go-router-benchmark
environment:
GO111MODULE: "on"
steps:
Expand All @@ -30,25 +30,20 @@ jobs:
- run:
name: "Run vet"
command: make vet
- run:
name: "Install tools"
command: make install-tools
- run:
name: "Run go staticcheck"
command: make staticcheck
- run:
name: "Run go test-benchmark"
command: make test-benchmark
- when:
condition:
or:
- equal: [ '1.19', << parameters.version >> ]
- equal: [ '1.18', << parameters.version >> ]
steps:
- run:
name: "Install tools"
command: make install-tools
- run:
name: "Run go staticcheck"
command: make staticcheck

workflows:
tests:
jobs:
- test:
matrix:
parameters:
version: ["1.19", "1.18", "1.17"]
version: ["1.20", "1.19"]
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ vet: ## Run vet.
staticcheck: ## Run staticcheck.
staticcheck ./...

.PHONY: update-all-mod
update-all-mod: ## Run go get and mod.
go get -u && go mod tidy && go get -u ./...

.PHONY: test-benchmark
test-benchmark: ## Run benchmark tests.
go test -bench=. -benchmem
Expand Down
307 changes: 181 additions & 126 deletions README.md

Large diffs are not rendered by default.

Binary file removed go-router-benchmark.test
Binary file not shown.
50 changes: 28 additions & 22 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.19

require (
github.com/beego/mux v0.0.0-20170807094426-6660b4b5accb
github.com/bmf-san/goblin v0.0.0-20230108200028-8e15e5c70d92
github.com/bmf-san/goblin v0.0.0-20230612165304-8aa4a2b4eb0a
github.com/dimfeld/httptreemux/v5 v5.5.0
github.com/gin-gonic/gin v1.8.2
github.com/gin-gonic/gin v1.9.1
github.com/go-chi/chi/v5 v5.0.8
github.com/go-ozzo/ozzo-routing/v2 v2.4.0
github.com/gocraft/web v0.0.0-20190207150652-9707327fb69b
Expand All @@ -16,35 +16,41 @@ require (
github.com/lkeix/techbook13-sample v0.0.0-20221218104044-fc1348dfcf99
github.com/naoina/denco v0.0.0-20180930074809-8475105a6b4c
github.com/nissy/bon v1.3.0
github.com/uptrace/bunrouter v1.0.19
github.com/uptrace/bunrouter v1.0.20
github.com/vardius/gorouter/v4 v4.5.1
)

require (
github.com/andybalholm/brotli v1.0.0 // indirect
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/bytedance/sonic v1.9.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/dimfeld/httptreemux v5.0.1+incompatible // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.14.0 // indirect
github.com/go-playground/universal-translator v0.18.0 // indirect
github.com/go-playground/validator/v10 v10.11.1 // indirect
github.com/goccy/go-json v0.9.11 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.14.1 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.10.11 // indirect
github.com/klauspost/compress v1.16.5 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/labstack/gommon v0.4.0 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/mattn/go-colorable v0.1.11 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/ugorji/go/codec v1.2.7 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasthttp v1.16.0 // indirect
github.com/valyala/fasttemplate v1.2.1 // indirect
golang.org/x/crypto v0.2.0 // indirect
golang.org/x/net v0.4.0 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/text v0.5.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
github.com/valyala/fasthttp v1.47.0 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
golang.org/x/arch v0.3.0 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/text v0.10.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 27cb259

Please sign in to comment.