From a095bb9f08cdfbe05ab8f39d147743096b17e034 Mon Sep 17 00:00:00 2001 From: Nam Huynh Date: Thu, 7 Oct 2021 23:37:41 +0700 Subject: [PATCH] check log --- index.go | 1 + 1 file changed, 1 insertion(+) diff --git a/index.go b/index.go index 3f27140..f6c1c39 100644 --- a/index.go +++ b/index.go @@ -13,6 +13,7 @@ import ( // CreateIndex ... func CreateIndex(colName string, ind mongo.IndexModel) { + fmt.Println("db name:", db.Name()) // Get collection col := db.Collection(colName) if col == nil {