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 {