Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tockn committed Apr 8, 2019
1 parent cdf62fd commit 6b6805d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion named.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ func NamedQuery(e Ext, query string, arg interface{}) (*Rows, error) {

// NamedExec uses BindStruct to get a query executable by the driver and
// then runs Exec on the result. Returns an error from the binding
// or the query excution itself.
// or the query execution itself.
func NamedExec(e Ext, query string, arg interface{}) (sql.Result, error) {
q, args, err := bindNamedMapper(BindType(e.DriverName()), query, arg, mapperFor(e))
if err != nil {
Expand Down

0 comments on commit 6b6805d

Please sign in to comment.