use golint checked

This commit is contained in:
jroam
2019-04-24 18:08:10 +08:00
parent 6d5b552bb7
commit 5346ca9046

View File

@ -176,9 +176,8 @@ func (t *Time) Format(format string) string {
func formatMonthDayMap(days string) string {
if days > "4" || days == "0" {
return monthDayMap["4"]
} else {
return monthDayMap[days]
}
return monthDayMap[days]
}
// 格式化,使用标准库格式