You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From commit, I think we should be using an enum or const for the return type of time.Compare instead of hardcoded values. It makes the code easier to understand and maintain. This can be seen below:
// src/time/time.gopackage time
const (
Same=0Past=+1Furue=-1
)
// ...