Feature/generic type (#19)

Supports generics and any
This commit is contained in:
jeffery
2023-04-07 19:21:05 +08:00
committed by GitHub
parent ce429aed1f
commit 9a8c60b30a
51 changed files with 348 additions and 1127 deletions

View File

@@ -7,7 +7,7 @@ import (
)
// AnyToStr 任意类型数据转string
func AnyToStr(i interface{}) string {
func AnyToStr(i any) string {
if i == nil {
return ""
}