File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ module github.com/issue9/mux/v9
33require (
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
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ github.com/issue9/assert/v4 v4.3.1 h1:dHYODk1yV7j/1baIB6K6UggI4r1Hfuljqic7PaDbwL
22github.com/issue9/assert/v4 v4.3.1 /go.mod h1:v7qDRXi7AsaZZNh8eAK2rkLJg5/clztqQGA1DRv9Lv4 =
33github.com/issue9/errwrap v0.3.3 h1:qYkdgqni0sdvbaLgVdJxNxrnpFmM6u9Wm/W9iE5mVzI =
44github.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 =
Original file line number Diff line number Diff 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
5553func New [T any ](
You can’t perform that action at this time.
0 commit comments