diff --git a/xraysql/connector.go b/xraysql/connector.go index d7d11c9..ebd754a 100644 --- a/xraysql/connector.go +++ b/xraysql/connector.go @@ -354,7 +354,7 @@ func queryRow(ctx context.Context, conn driver.Conn, query string, dest ...*stri case bool: *d = strconv.FormatBool(s) default: - return fmt.Errorf("sql: Scan error on column index %d, name %q: type missmatch", i, rows.Columns()[i]) + return fmt.Errorf("sql: Scan error on column index %d, name %q: type mismatch", i, rows.Columns()[i]) } } diff --git a/xraysql/sql_test.go b/xraysql/sql_test.go index 53277c4..121d8fe 100644 --- a/xraysql/sql_test.go +++ b/xraysql/sql_test.go @@ -32,7 +32,7 @@ func ignore(s string) string { const timeFilled = 1234567890 -// we check wheather time is set +// we check whether time is set func ignoreTime(t float64) float64 { if t == 0 { return 0