mirror of
https://github.com/golang/go
synced 2024-11-13 12:30:21 -07:00
src/database/sql: run gofmt
Run gofmt on a source file. Change-Id: I180d5cc7425fc5d8e9cf63005ac692f361beb1ed Reviewed-on: https://go-review.googlesource.com/c/go/+/508497 Run-TryBot: Than McIntosh <thanm@google.com> Reviewed-by: Eli Bendersky <eliben@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
ac9137f8d3
commit
894d24d617
@ -2949,7 +2949,7 @@ func (rs *Rows) initContextClose(ctx, txctx context.Context) {
|
|||||||
go rs.awaitDone(ctx, txctx, closectx)
|
go rs.awaitDone(ctx, txctx, closectx)
|
||||||
}
|
}
|
||||||
|
|
||||||
// awaitDone blocks until ctx, txctx, or closectx is canceled.
|
// awaitDone blocks until ctx, txctx, or closectx is canceled.
|
||||||
// The ctx is provided from the query context.
|
// The ctx is provided from the query context.
|
||||||
// If the query was issued in a transaction, the transaction's context
|
// If the query was issued in a transaction, the transaction's context
|
||||||
// is also provided in txctx, to ensure Rows is closed if the Tx is closed.
|
// is also provided in txctx, to ensure Rows is closed if the Tx is closed.
|
||||||
|
Loading…
Reference in New Issue
Block a user