Skip to content

Commit 7b22226

Browse files
authored
refactor(*): cleanup unused commented code (#116)
Signed-off-by: lsytj0413 <511121939@qq.com> Signed-off-by: lsytj0413 <511121939@qq.com>
1 parent 9055243 commit 7b22226

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

model/event_state.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,8 @@ type eventStateForUnmarshal EventState
3838

3939
// UnmarshalJSON unmarshal EventState object from json bytes
4040
func (e *EventState) UnmarshalJSON(data []byte) error {
41-
// var timeout EventStateTimeout
42-
// if err := json.Unmarshal(data, &timeout); err != nil {
43-
// return err
44-
// }
45-
4641
v := eventStateForUnmarshal{
4742
Exclusive: true,
48-
// Timeouts: &timeout,
4943
}
5044
err := json.Unmarshal(data, &v)
5145
if err != nil {

0 commit comments

Comments
 (0)