Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Found x.Sub(time.Now()) instead of time.Until(x)
go-lint SCC-S1024 The time.Until helper has the same effect as using x.Sub(time.Now()). The former is easier to read. Signed-off-by: Deshi Xiao <[email protected]>
- Loading branch information