DbMap struct has a ctx context.Context field, ctx can be set when initializing DbMap instance and can serve as timeout Context for all transactions based on this DbMap instance. All the transactions share the same timeout Context.
Sometimes user may want to create independent timeout Context per transaction, with timeout interval setting in DbMap instance.
Pull request: #441
DbMapstruct has actx context.Contextfield,ctxcan be set when initializingDbMapinstance and can serve as timeoutContextfor all transactions based on thisDbMapinstance. All the transactions share the same timeoutContext.Sometimes user may want to create independent timeout
Contextper transaction, with timeout interval setting inDbMapinstance.Pull request: #441