File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 44 "encoding/json"
55 "fmt"
66 "github.com/RoboCup-SSL/ssl-game-controller/internal/app/config"
7- "log"
87 "reflect"
98 "time"
109)
@@ -134,7 +133,6 @@ func (m EventModifyValue) Type() string {
134133 v := reflect .ValueOf (m )
135134 for i := 0 ; i < v .NumField (); i ++ {
136135 fieldName := v .Type ().Field (i ).Name
137- log .Print (fieldName , " " , v .Field (i ))
138136 if fieldName != "ForTeam" && ! v .Field (i ).IsNil () {
139137 return fieldName
140138 }
@@ -146,7 +144,6 @@ func (m EventModifyValue) Value() string {
146144 v := reflect .ValueOf (m )
147145 for i := 0 ; i < v .NumField (); i ++ {
148146 fieldName := v .Type ().Field (i ).Name
149- log .Print (fieldName , " " , v .Field (i ))
150147 if fieldName != "ForTeam" && ! v .Field (i ).IsNil () {
151148 b , _ := json .Marshal (v .Field (i ).Interface ())
152149 return string (b )
You can’t perform that action at this time.
0 commit comments