6380833
1
2
3
4
5
6
7
8
package timeutil import "time" func Compare(a, b time.Time) int { return int(a.Sub(b)) }