make lint happy

This commit is contained in:
fumiama
2021-12-26 21:59:48 +08:00
parent 16624a9596
commit 3939e0760f
7 changed files with 29 additions and 64 deletions

View File

@@ -46,7 +46,7 @@ func GetHoliday(name string) *Holiday {
return h
}
// 获取两个时间相差
// String 获取两个时间相差
func (h *Holiday) String() string {
d := time.Until(h.date)
switch {