Skip to content

Commit 8b73d58

Browse files
committed
deps: 更新依赖项
1 parent 23716d8 commit 8b73d58

4 files changed

Lines changed: 16 additions & 18 deletions

File tree

.github/workflows/go.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macOS-latest, windows-latest]
12-
go: ["1.25.x", "1.24.x"]
12+
go: ["1.25.x", "1.26.x"]
1313

1414
steps:
1515
- name: Check out code into the Go module directory
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717

1818
- name: Set up Go ${{ matrix.go }}
19-
uses: actions/setup-go@v5
19+
uses: actions/setup-go@v6
2020
with:
2121
go-version: ${{ matrix.go }}
2222
id: go

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ module github.com/issue9/mux/v9
33
require (
44
github.com/issue9/assert/v4 v4.3.1
55
github.com/issue9/errwrap v0.3.3
6-
github.com/issue9/source v0.12.7
6+
github.com/issue9/source v0.12.8
77
)
88

9-
require golang.org/x/mod v0.30.0 // indirect
9+
require golang.org/x/mod v0.34.0 // indirect
1010

11-
go 1.24.0
11+
go 1.25.0

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ github.com/issue9/assert/v4 v4.3.1 h1:dHYODk1yV7j/1baIB6K6UggI4r1Hfuljqic7PaDbwL
22
github.com/issue9/assert/v4 v4.3.1/go.mod h1:v7qDRXi7AsaZZNh8eAK2rkLJg5/clztqQGA1DRv9Lv4=
33
github.com/issue9/errwrap v0.3.3 h1:qYkdgqni0sdvbaLgVdJxNxrnpFmM6u9Wm/W9iE5mVzI=
44
github.com/issue9/errwrap v0.3.3/go.mod h1:I3pMMJix+2LvmJlbPXomej4eLKgJa/f2Xci3HFXlF7Q=
5-
github.com/issue9/source v0.12.7 h1:ZYbHw0dcJuvXpug4A6FBdkZV5UgKfgvUip30Xe4aOWY=
6-
github.com/issue9/source v0.12.7/go.mod h1:AUH3ZREAknsKNnRX03pBHuWiehLY5XU1gUxAM2DH73Q=
7-
golang.org/x/mod v0.30.0 h1:fDEXFVZ/fmCKProc/yAXXUijritrDzahmwwefnjoPFk=
8-
golang.org/x/mod v0.30.0/go.mod h1:lAsf5O2EvJeSFMiBxXDki7sCgAxEUcZHXoXMKT4GJKc=
5+
github.com/issue9/source v0.12.8 h1:TR9IKCTMAGVpXlgdP7YGLAQbDmfEwM46bS8Z5j0WYSY=
6+
github.com/issue9/source v0.12.8/go.mod h1:YYpkb0KJIL58qbM23ZuGIbOzIqum2msoQ58bT6ppkC0=
7+
golang.org/x/mod v0.34.0 h1:xIHgNUUnW6sYkcM5Jleh05DvLOtwc6RitGHbDk4akRI=
8+
golang.org/x/mod v0.34.0/go.mod h1:ykgH52iCZe79kzLLMhyCUzhMci+nQj+0XkbXpNYtVjY=

internal/tree/tree.go

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,12 @@ type Tree[T any] struct {
4242

4343
// 由 New 负责初始化的内容
4444

45-
locker *sync.RWMutex
46-
interceptors *syntax.Interceptors
47-
name string
48-
notFound,
49-
trace T
50-
hasTrace bool
51-
optionsBuilder,
52-
methodNotAllowedBuilder types.BuildNodeHandler[T]
45+
locker *sync.RWMutex
46+
interceptors *syntax.Interceptors
47+
name string
48+
notFound, trace T
49+
hasTrace bool
50+
optionsBuilder, methodNotAllowedBuilder types.BuildNodeHandler[T]
5351
}
5452

5553
func New[T any](

0 commit comments

Comments
 (0)