-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Milestone
Description
The documentation for sql.NamedArg
currently looks like:
type NamedArg struct {
// Name of the parameter placeholder. If empty the ordinal position in the
// argument list will be used.
//
// Name must omit any symbol prefix.
Name string
// Value of the parameter. It may be assigned the same value types as
// the query arguments.
Value interface{}
// contains filtered or unexported fields
}
Can we fix the formatting to look nicer? I expect it to be like:
type NamedArg struct {
// Name of the parameter placeholder. If empty the ordinal position in the
// argument list will be used.
//
// Name must omit any symbol prefix.
Name string
// Value of the parameter. It may be assigned the same value types as
// the query arguments.
Value interface{}
// Contains filtered or unexported fields.
}
This applies to interfaces as well.
Metadata
Metadata
Assignees
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.