From 4311f44fabf64757f48f3fb6521e4cd8070efc1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sat, 8 Jun 2024 19:57:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0slice=20any=20=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data_type.go | 1 + 1 file changed, 1 insertion(+) diff --git a/data_type.go b/data_type.go index cc8bf86..3e35633 100644 --- a/data_type.go +++ b/data_type.go @@ -13,6 +13,7 @@ const ( DataTypeFloat = "float" // float类型 -> float64 DataTypeBool = "bool" // bool类型 DataTypeString = "string" // 字符串类型 + DataTypeSliceAny = "[]any" // any数组 -> []any DataTypeSliceInt = "[]int" // int数组 -> []int64 DataTypeSliceIntWithChar = "[]int_split" // int数组 -> []int64, 按照指定字符切割 DataTypeSliceUint = "[]uint" // uint数组 -> []uint64