From c6c5784ffb1a057aedfd4d37240f9e6d24e17aa0 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 25 Oct 2023 00:25:19 +0800 Subject: [PATCH] [add] Neo context namespace --- neo/command/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/neo/command/types.go b/neo/command/types.go index 2c8652c4..035150f1 100644 --- a/neo/command/types.go +++ b/neo/command/types.go @@ -74,6 +74,8 @@ type Context struct { Path string `json:"pathname,omitempty"` FormData map[string]interface{} `json:"formdata,omitempty"` Field *ContextField `json:"field,omitempty"` + Namespace string `json:"namespace,omitempty"` + Config map[string]interface{} `json:"config,omitempty"` context.Context `json:"-" yaml:"-"` }