From 110127e76ad61349e1d4159c235b3cb1ed80c23a Mon Sep 17 00:00:00 2001 From: Nam Huynh Date: Thu, 7 Oct 2021 23:40:34 +0700 Subject: [PATCH] done check log --- index.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.go b/index.go index f6c1c39..b3e5c28 100644 --- a/index.go +++ b/index.go @@ -13,7 +13,6 @@ import ( // CreateIndex ... func CreateIndex(colName string, ind mongo.IndexModel) { - fmt.Println("db name:", db.Name()) // Get collection col := db.Collection(colName) if col == nil { @@ -21,8 +20,6 @@ func CreateIndex(colName string, ind mongo.IndexModel) { return } - fmt.Println("ind", ind) - opts := options.CreateIndexes().SetMaxTime(time.Minute * 10) _, err := col.Indexes().CreateOne(context.Background(), ind, opts) if err != nil {