1
0
mirror of https://github.com/golang/go synced 2024-11-24 09:20:02 -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:
Tim Cooper 2017-10-17 23:11:54 -03:00 committed by Daniel Theophanes
parent b614ed4ca4
commit a9afa4e933

View File

@ -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{}