Skip to content

Commit fe1fc3d

Browse files
committed
ignore conversion lint, varies by platform
1 parent f76cf0d commit fe1fc3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/now_unix.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ func Now() time.Time {
1515
return time.Now()
1616
}
1717

18+
//nolint:unconvert
1819
return time.Unix(int64(tv.Sec), int64(tv.Usec)*1000)
1920
}

0 commit comments

Comments
 (0)