package common import "time" func CompareTime(t1, t2 time.Time) time.Duration { return t2.Sub(t1) }