Skip to content

Commit

Permalink
Merge pull request #464 from shogo82148/fix-small-typos-2023-09-02
Browse files Browse the repository at this point in the history
fix small typos
  • Loading branch information
shogo82148 authored Sep 2, 2023
2 parents 90f42ed + f71b92a commit c9f8131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xraysql/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
}

Expand Down
2 changes: 1 addition & 1 deletion xraysql/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9f8131

Please sign in to comment.