Commit a9afa4e9 authored by Tim Cooper's avatar Tim Cooper Committed by Daniel Theophanes

database/sql: fix example usage of Out

Fixes #22292

Change-Id: I016e5f2b8624a6ebaf11a693a0f6d94d7b0d3f92
Reviewed-on: https://go-review.googlesource.com/71550Reviewed-by: 's avatarDaniel Theophanes <kardianos@gmail.com>
parent b614ed4c
......@@ -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{}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment