From ea5e3bd2a18fc26fa9028865c8f391b18ed24786 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Tue, 22 Aug 2017 15:41:50 +0530 Subject: all: fix easy-to-miss typos Using the wonderful https://github.com/client9/misspell tool. Change-Id: Icdbc75a5559854f4a7a61b5271bcc7e3f99a1a24 Reviewed-on: https://go-review.googlesource.com/57851 Reviewed-by: Joe Tsai Run-TryBot: Joe Tsai TryBot-Result: Gobot Gobot --- src/database/sql/convert.go | 2 +- src/database/sql/sql_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/database/sql') diff --git a/src/database/sql/convert.go b/src/database/sql/convert.go index 4983181fe7..3c387fb25c 100644 --- a/src/database/sql/convert.go +++ b/src/database/sql/convert.go @@ -204,7 +204,7 @@ func driverArgs(ci driver.Conn, ds *driverStmt, args []interface{}) ([]driver.Na } } - // Check the length of arguments after convertion to allow for omitted + // Check the length of arguments after conversion to allow for omitted // arguments. if want != -1 && len(nvargs) != want { return nil, fmt.Errorf("sql: expected %d arguments, got %d", want, len(nvargs)) diff --git a/src/database/sql/sql_test.go b/src/database/sql/sql_test.go index 644769442e..bcf0887d0e 100644 --- a/src/database/sql/sql_test.go +++ b/src/database/sql/sql_test.go @@ -3390,7 +3390,7 @@ func (c *nvcConn) CheckNamedValue(nv *driver.NamedValue) error { case Out: switch ov := v.Dest.(type) { default: - return errors.New("unkown NameValueCheck OUTPUT type") + return errors.New("unknown NameValueCheck OUTPUT type") case *string: *ov = "from-server" nv.Value = "OUT:*string" -- cgit v1.3