Keep mongoDB client connected Golang
I try to understand why my mongoDB client disconnect despite the global scope variable. There is something that i dont understand. I think, somehow, this is related the ConnectToDatabase() function. If i try to do some operation on the DB…