mirror of
https://github.com/golang/go
synced 2024-11-12 04:40:22 -07:00
database/sql: fix example usage of Out
Fixes #22292 Change-Id: I016e5f2b8624a6ebaf11a693a0f6d94d7b0d3f92 Reviewed-on: https://go-review.googlesource.com/71550 Reviewed-by: Daniel Theophanes <kardianos@gmail.com>
This commit is contained in:
parent
b614ed4ca4
commit
a9afa4e933
@ -285,7 +285,7 @@ type Scanner interface {
|
||||
// Example usage:
|
||||
//
|
||||
// var outArg string
|
||||
// _, err := db.ExecContext(ctx, "ProcName", sql.Named("Arg1", Out{Dest: &outArg}))
|
||||
// _, err := db.ExecContext(ctx, "ProcName", sql.Named("Arg1", sql.Out{Dest: &outArg}))
|
||||
type Out struct {
|
||||
_Named_Fields_Required struct{}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user