Skip to content
Draft
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
2 changes: 1 addition & 1 deletion .github/workflows/samples-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
sample:
- samples/server/petstore/go-api-server/
go-version:
- "1.18"
- "1.25"
steps:
- uses: actions/checkout@v7
- name: Set up Go
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module {{gitHost}}/{{gitUserId}}/{{gitRepoId}}

go 1.18
go 1.25

{{#hasPathParams}}
{{#routers}}
Expand All @@ -11,7 +11,7 @@ require github.com/gorilla/handlers v1.5.1
{{/featureCORS}}
{{/mux}}
{{#chi}}
require github.com/go-chi/chi/v5 v5.2.2
require github.com/go-chi/chi/v5 v5.2.4
{{#featureCORS}}
require github.com/go-chi/cors v1.2.1
{{/featureCORS}}
Expand Down
4 changes: 2 additions & 2 deletions samples/openapi3/server/petstore/go/go-petstore/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/GIT_USER_ID/GIT_REPO_ID

go 1.18
go 1.25

require github.com/go-chi/chi/v5 v5.2.2
require github.com/go-chi/chi/v5 v5.2.4
2 changes: 1 addition & 1 deletion samples/server/others/go-server/no-body-path-params/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/GIT_USER_ID/GIT_REPO_ID

go 1.18
go 1.25

require github.com/gorilla/mux v1.8.0
2 changes: 1 addition & 1 deletion samples/server/others/go-server/optional-body/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/GIT_USER_ID/GIT_REPO_ID

go 1.18
go 1.25

2 changes: 1 addition & 1 deletion samples/server/others/go-server/required-zero-value/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/GIT_USER_ID/GIT_REPO_ID

go 1.18
go 1.25

2 changes: 1 addition & 1 deletion samples/server/petstore/go-api-server/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/GIT_USER_ID/GIT_REPO_ID

go 1.18
go 1.25

require github.com/gorilla/mux v1.8.0
4 changes: 2 additions & 2 deletions samples/server/petstore/go-chi-server/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/GIT_USER_ID/GIT_REPO_ID

go 1.18
go 1.25

require github.com/go-chi/chi/v5 v5.2.2
require github.com/go-chi/chi/v5 v5.2.4
Loading