Mongodb – Should I pass context.Context to underlying DB methods in Go?
I use semi-code here just to show my intention of whats going on in code and not complicating things here in the question. I have a main.go file that calls a method that connects to mongoDB database: mStore := store.NewMongoStore()…