Default severity: warning
The == and != operators compare every field of time.Time, including
monotonic-clock and location representation details. Time.Equal compares the
represented instants.
Bad
if first == second {
match()
}Good
if first.Equal(second) {
match()
}