Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in comments #378

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion squirrel.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func DebugSqlizer(s Sqlizer) string {
"[DebugSqlizer error: not enough placeholders in %#v for %d args]",
sql, len(args))
}
// "append" any remaning sql that won't need interpolating
// "append" any remaining sql that won't need interpolating
buf.WriteString(sql)
return buf.String()
}
2 changes: 1 addition & 1 deletion stmtcacher.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
)

// Prepareer is the interface that wraps the Prepare method.
// Preparer is the interface that wraps the Prepare method.
//
// Prepare executes the given query as implemented by database/sql.Prepare.
type Preparer interface {
Expand Down
5 changes: 3 additions & 2 deletions stmtcacher_ctx.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build go1.8
// +build go1.8

package squirrel
Expand All @@ -7,9 +8,9 @@ import (
"database/sql"
)

// PrepareerContext is the interface that wraps the Prepare and PrepareContext methods.
// PreparerContext is the interface that wraps the Preparer and PrepareContext methods.
//
// Prepare executes the given query as implemented by database/sql.Prepare.
// Preparer executes the given query as implemented by database/sql.Prepare.
// PrepareContext executes the given query as implemented by database/sql.PrepareContext.
type PreparerContext interface {
Preparer
Expand Down