From 69847dc265249f2dc074280fcf23975fadcefc1b Mon Sep 17 00:00:00 2001 From: xojigsx Date: Mon, 4 Sep 2023 00:21:56 +0200 Subject: [PATCH] =?UTF-8?q?qp:=20fix=20linter=20warnings=20=F0=9F=A4=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- builder.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/builder.go b/builder.go index a9dc601..cc3d9f4 100644 --- a/builder.go +++ b/builder.go @@ -61,7 +61,6 @@ type builder struct { dialects dialects fields []string table string - prefix string } func newBuilder[T any](m *reflectx.Mapper, table string) *builder { @@ -106,11 +105,11 @@ func (b *builder) query(driver, name string, args ...any) (*query, error) { h := sha256.New() - io.WriteString(h, driver) - io.WriteString(h, name) + _, _ = io.WriteString(h, driver) + _, _ = io.WriteString(h, name) for _, col := range columns { - io.WriteString(h, col) + _, _ = io.WriteString(h, col) } p := h.Sum(nil)