From 70bf44e00042ca523bdc8bf73a9c4c7b517e0cce Mon Sep 17 00:00:00 2001 From: Tony Holdstock-Brown Date: Mon, 9 Sep 2024 17:42:09 -0700 Subject: [PATCH] lints --- scripts/push_data.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/push_data.go b/scripts/push_data.go index 1881af2..958d1f5 100644 --- a/scripts/push_data.go +++ b/scripts/push_data.go @@ -14,6 +14,7 @@ import ( "github.com/jackc/pgx/v5/pgconn" ) +// nolint func hash(in any) string { switch v := in.(type) { case string: @@ -25,6 +26,7 @@ func hash(in any) string { } } +// nolint func push() { ctx := context.Background() c, err := pgconn.Connect(ctx, os.Getenv("DATABASE_URL"))