Skip to content

Commit 4147902

Browse files
committed
1 parent 395dc46 commit 4147902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebook/05.5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ beedb接口提供了另外一种插入的方式,map数据插入。
8484

8585
插入多条数据
8686

87-
addslice := make([]map[string]interface{})
87+
addslice := make([]map[string]interface{}, 0)
8888
add:=make(map[string]interface{})
8989
add2:=make(map[string]interface{})
9090
add["username"] = "astaxie"

0 commit comments

Comments
 (0)