-
Notifications
You must be signed in to change notification settings - Fork 130
Closed
Labels
checker stabilizationChecker proposed for stabilizationChecker proposed for stabilization
Description
Rule is wrong because times on the condition can be equal and in this case, not after isn't same with before.
package main
import (
"fmt"
"time"
)
func main() {
t := time.Now()
fmt.Println(!t.After(t))
fmt.Println(t.Before(t))
}
SladeThe, iwamura-koya-ab, mpwalkerdine, mrwonko, jufemaiz and 11 more
Metadata
Metadata
Assignees
Labels
checker stabilizationChecker proposed for stabilizationChecker proposed for stabilization