Browse Source

remove unnecessary tag

kevin 5 năm trước cách đây
mục cha
commit
797a90ae7d
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      core/logx/tracelog.go

+ 3 - 3
core/logx/tracelog.go

@@ -10,9 +10,9 @@ import (
 
 type tracingEntry struct {
 	logEntry
-	Trace string          `json:"trace,omitempty"`
-	Span  string          `json:"span,omitempty"`
-	ctx   context.Context `json:"-"`
+	Trace string `json:"trace,omitempty"`
+	Span  string `json:"span,omitempty"`
+	ctx   context.Context
 }
 
 func (l tracingEntry) Error(v ...interface{}) {