Remove unused

This commit is contained in:
世界 2023-03-24 07:09:09 +08:00
parent f8038854d2
commit 8afcf45878
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -64,11 +64,7 @@ func ToString0[T any](message T) string {
}
func MapToString[T any](arr []T) []string {
// TODO: replace if golangci-lint fixed
// return common.Map(arr, ToString0[T])
return common.Map(arr, func(it T) string {
return ToString(it)
})
return common.Map(arr, ToString0[T])
}
func Seconds(seconds float64) string {