From a5eb913aa09eaccb41853d5130f6b1bf424e65f5 Mon Sep 17 00:00:00 2001 From: kiripeng Date: Thu, 28 Jul 2022 18:30:36 +0800 Subject: [PATCH] chore: go workspace contain go.work and go.work.sum (#2241) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: map 其桶中只能存储 8 个键值对元素,超过后会储存到溢出桶或者扩容,影响性能,预先声明容量以免影响性能 * update ignore for go workspace Co-authored-by: caizhipeng --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index fe21f018c..0384a2c2f 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ vendor/ # Go workspace file go.work +go.work.sum # Compiled Object files, Static and Dynamic libs (Shared Objects) *.o