We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f4797e commit 2161eedCopy full SHA for 2161eed
mongo/session.go
@@ -26,7 +26,7 @@ var ErrWrongClient = errors.New("session was not created by this client")
26
27
// SessionContext is a hybrid interface. It combines a context.Context with
28
// a mongo.Session. This type can be used as a regular context.Context or
29
-// Session type.
+// Session type. It is not goroutine safe and should not be used in multiple goroutines concurrently.
30
type SessionContext interface {
31
context.Context
32
Session
0 commit comments