File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
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 {},
You can’t perform that action at this time.
0 commit comments