mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
use golint checked
This commit is contained in:
@ -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]
|
||||
}
|
||||
|
||||
// 格式化,使用标准库格式
|
||||
|
||||
Reference in New Issue
Block a user