File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,13 @@ import (
10
10
"context"
11
11
"embed"
12
12
"fmt"
13
- "github.com/rookie-ninja/rk-entry/v2/entry"
14
- "github.com/rookie-ninja/rk-entry/v2/middleware"
15
- "go.uber.org/zap"
16
13
"os"
17
14
"path/filepath"
18
15
"runtime/debug"
16
+
17
+ rkentry "github.com/rookie-ninja/rk-entry/v2/entry"
18
+ rkmid "github.com/rookie-ninja/rk-entry/v2/middleware"
19
+ "go.uber.org/zap"
19
20
)
20
21
21
22
type hookFuncM map [string ]map [string ]func (ctx context.Context )
@@ -80,7 +81,7 @@ func NewBoot(opts ...BootOption) *Boot {
80
81
defer syncLog ("N/A" )
81
82
82
83
boot := & Boot {
83
- EventId : rkmid .GenerateRequestId (),
84
+ EventId : rkmid .GenerateRequestId (nil ),
84
85
beforeHookF : newHookFuncM (),
85
86
afterHookF : newHookFuncM (),
86
87
pluginEntries : map [string ]map [string ]rkentry.Entry {},
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/rookie-ninja/rk-boot/v2
3
3
go 1.18
4
4
5
5
require (
6
- github.com/rookie-ninja/rk-entry/v2 v2.2.17
6
+ github.com/rookie-ninja/rk-entry/v2 v2.2.18
7
7
github.com/stretchr/testify v1.8.0
8
8
go.uber.org/zap v1.21.0
9
9
)
Original file line number Diff line number Diff line change @@ -230,6 +230,8 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR
230
230
github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k =
231
231
github.com/rookie-ninja/rk-entry/v2 v2.2.17 h1:cRy6xtjD7B8p5Z1Is0/vrnveDWWOP/3Ouclk4G/rU5Y =
232
232
github.com/rookie-ninja/rk-entry/v2 v2.2.17 /go.mod h1:P/Fd6Oyvvx0ITbEU2lzO3KkQ9miWVwd84aPaC0LMD0o =
233
+ github.com/rookie-ninja/rk-entry/v2 v2.2.18 h1:eGByO/Ycb6BbSsdrfIJwfxy9cdjM+5So7JHaBu6bMko =
234
+ github.com/rookie-ninja/rk-entry/v2 v2.2.18 /go.mod h1:P/Fd6Oyvvx0ITbEU2lzO3KkQ9miWVwd84aPaC0LMD0o =
233
235
github.com/rookie-ninja/rk-logger v1.2.13 h1:ERxeNZUmszlY4xehHcJRXECPtbjYIXzN8yRIyYyLGsg =
234
236
github.com/rookie-ninja/rk-logger v1.2.13 /go.mod h1:0ZiGn1KsHKOmCv+FHMH7k40DWYSJcj5yIR3EYcjlnLs =
235
237
github.com/rookie-ninja/rk-query v1.2.14 h1:aYNyMXixpsEYRfEOz9Npt5QG3A6BQlo9vKjYc78x7bc =
You can’t perform that action at this time.
0 commit comments