aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-05-12 13:16:51 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-05-12 13:16:51 +0200
commit14ae9e47a2a303726f8e5141cfd46bb22e0f51c6 (patch)
treecca72979321732df91d2c11b33bfbd217b682a4e
parent7bdc14a145c4b5c380921abf1db3f2c00a9c66cc (diff)
downloadgo-oblast-14ae9e47a2a303726f8e5141cfd46bb22e0f51c6.tar.gz
fix typos
-rw-r--r--handle/handle.go2
-rw-r--r--internal/testhelpers/mock/mock.go2
-rw-r--r--plan_test.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/handle/handle.go b/handle/handle.go
index 41d82b5..eaf3558 100644
--- a/handle/handle.go
+++ b/handle/handle.go
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// Package handle contains type definitions for connecting non-std database drivers to Oblast.
-// Since most database drivers use the standard interface from databse/sql, the Wrap() function from the main package covers the needs of most users.
+// Since most database drivers use the standard interface from database/sql, the Wrap() function from the main package covers the needs of most users.
package handle
import (
diff --git a/internal/testhelpers/mock/mock.go b/internal/testhelpers/mock/mock.go
index 6265166..626366e 100644
--- a/internal/testhelpers/mock/mock.go
+++ b/internal/testhelpers/mock/mock.go
@@ -260,7 +260,7 @@ type Rows struct {
closeError error
}
-// AndReturnColumns configures the set of column names that will be returend by this query.
+// AndReturnColumns configures the set of column names that will be returned by this query.
// Returns the same Result instance to allow chaining additional method calls.
func (r *Rows) AndReturnColumns(columns ...string) *Rows {
if len(r.columns) > 0 {
diff --git a/plan_test.go b/plan_test.go
index 5279a13..f8b4fac 100644
--- a/plan_test.go
+++ b/plan_test.go
@@ -289,7 +289,7 @@ func TestQueryConstructionWithoutPrimaryKey(t *testing.T) {
})
}
-func TestQueryConstructionImpossble(t *testing.T) {
+func TestQueryConstructionImpossible(t *testing.T) {
type unstructuredData struct {
Foo int
Bar *string