Skip to content

Commit 0804f72

Browse files
author
zhuzhenfeng.code
committed
remove unused time.Now
Change-Id: Ib2d617a6c20f6951559281796049615e7a0d9e1d
1 parent eb4214f commit 0804f72

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

option.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"errors"
99
"fmt"
1010
"reflect"
11-
"time"
1211
)
1312

1413
var optionNoSuchElement = fmt.Errorf("no such element")
@@ -186,7 +185,6 @@ func (o *Option[T]) UnmarshalJSON(b []byte) error {
186185
}
187186

188187
o.isPresent = true
189-
time.Now()
190188
return nil
191189
}
192190

0 commit comments

Comments
 (0)