feat: upgrade gin and fix

This commit is contained in:
2025-09-22 17:55:11 +08:00
parent f9d8253ab9
commit 6d33dc4f4c
4 changed files with 57 additions and 13 deletions

View File

@ -42,7 +42,7 @@ func FakeGinContext(fakeUri string, ctxData map[string]any) *gin.Context {
RemoteAddr: "localhost",
RequestURI: fakeUri,
},
Keys: map[string]any{},
Keys: map[any]any{},
}
ctxReflectVal := reflect.ValueOf(ctx).Elem()
field := ctxReflectVal.FieldByName("mu")