Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = mon.ErrNotFound ErrInvalidObjectId = errors.New("invalid objectId") )
Functions ¶
func WithTransaction ¶
Types ¶
type TransactionFunc ¶
type TransactionFunc func(ctx mongo.SessionContext) error
Click to show internal directories.
Click to hide internal directories.