refactor: reset

This commit is contained in:
vicanso 2022-05-16 20:58:41 +08:00
parent 7e80e9a848
commit c363d1d5e3
50 changed files with 55 additions and 10282 deletions

View file

@ -134,8 +134,8 @@ func commafWithDigits(value float64) string {
return humanize.CommafWithDigits(value, decimals)
}
func parseColor(color string) drawing.Color {
c := drawing.Color{}
func parseColor(color string) Color {
c := Color{}
if color == "" {
return c
}