Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-24.04-arm, windows-2025, macos-26]
go: [1.23.x, 1.24.x, 1.25.x]
go: [1.24.x, 1.25.x, 1.26.x]
continue-on-error: true
steps:
- name: Checkout source
Expand All @@ -20,6 +20,6 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9
with:
version: v2.2.2
version: v2.9.0
- name: Test
run: go test -v ./...
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ While code generation from an API specification is often preferred, this package
- **Framework Agnostic:** Works with the standard `net/http` library and can be easily integrated with popular frameworks like Chi, Gorilla Mux, and Gin.
- **Customizable:** Allows overriding default behaviors for path parameter extraction and query parsing.

## Requirements

Golang 1.24+ is required.

## Installation

```sh
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module go.expect.digital/request

go 1.23
go 1.24
2 changes: 1 addition & 1 deletion request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ func BenchmarkDecode(b *testing.B) {

r := httptest.NewRequest(http.MethodGet, "/?value=one,two,three&deep[ok]=1", nil)

for range b.N {
for b.Loop() {
err = Decode(r, &req)
}

Expand Down