improve: 404 status code

This commit is contained in:
naiba
2024-12-31 23:58:44 +08:00
parent 553f8e58d4
commit 828588eef1
5 changed files with 135 additions and 19 deletions

View File

@@ -27,7 +27,12 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: "1.23.x"
go-version: "1.23.1"
- name: patch net/http/fs.go
run: |
patch -p0 --forward `go env GOROOT`/src/net/http/fs.go < ./script/patch/fs.patch || true
patch -p0 --forward `go env GOMODCACHE`/github.com/gin-gonic/gin@v1.10.0/context.go < ./script/patch/gin-context.patch || true
- name: generate swagger docs
run: |