From 7d21c9ebc8214fb3c711a081e3ca064af64f6f6b Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 12 Jun 2023 11:15:58 +0800 Subject: [PATCH] fix --- utils/placeholder/placeholder.go | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 utils/placeholder/placeholder.go diff --git a/utils/placeholder/placeholder.go b/utils/placeholder/placeholder.go deleted file mode 100644 index 4d62947f..00000000 --- a/utils/placeholder/placeholder.go +++ /dev/null @@ -1,12 +0,0 @@ -package sql_placeholder - -import "strings" - -// 获取对应长度占位符号 -func GetSqlPlaceholder(l uint) string { - s := make([]string, 0, int(l)) - for i := 0; i < int(l); i++ { - s = append(s, "?") - } - return strings.Join(s, ",") -}