From 91a0e40ba37f989392fcd06b669fcad54a7651b4 Mon Sep 17 00:00:00 2001 From: Kiki L Hakiem Date: Wed, 3 Jul 2024 23:59:04 +0700 Subject: [PATCH] fix: make linter happy --- spanner.go | 2 +- testfixtures.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spanner.go b/spanner.go index 07df9f1..a1307da 100644 --- a/spanner.go +++ b/spanner.go @@ -44,7 +44,7 @@ func (*spanner) paramType() int { } func (*spanner) quoteKeyword(str string) string { - return fmt.Sprintf(`%s`, str) + return str } func (*spanner) databaseName(q queryable) (string, error) { diff --git a/testfixtures.go b/testfixtures.go index 32b78a1..9376ae1 100644 --- a/testfixtures.go +++ b/testfixtures.go @@ -137,7 +137,7 @@ func helperForDialect(dialect string) (helper, error) { case "clickhouse": return &clickhouse{}, nil case "spanner": - return &spanner{}, nil // TODO: return the impl + return &spanner{}, nil default: return nil, fmt.Errorf(`testfixtures: unrecognized dialect "%s"`, dialect) }