From 24fd34413f68848036c5a63f98becebe928123c1 Mon Sep 17 00:00:00 2001 From: Kevin Wan Date: Sun, 12 Sep 2021 16:15:42 +0800 Subject: [PATCH] fix golint issues (#1027) --- core/stores/clickhouse/clickhouse.go | 1 + core/stores/postgres/postgresql.go | 1 + 2 files changed, 2 insertions(+) diff --git a/core/stores/clickhouse/clickhouse.go b/core/stores/clickhouse/clickhouse.go index c8737807..af997f9c 100644 --- a/core/stores/clickhouse/clickhouse.go +++ b/core/stores/clickhouse/clickhouse.go @@ -1,6 +1,7 @@ package clickhouse import ( + // imports the driver, don't remove this comment, golint requires. _ "github.com/ClickHouse/clickhouse-go" "github.com/tal-tech/go-zero/core/stores/sqlx" ) diff --git a/core/stores/postgres/postgresql.go b/core/stores/postgres/postgresql.go index 6fb84185..3cf61b8a 100644 --- a/core/stores/postgres/postgresql.go +++ b/core/stores/postgres/postgresql.go @@ -1,6 +1,7 @@ package postgres import ( + // imports the driver, don't remove this comment, golint requires. _ "github.com/lib/pq" "github.com/tal-tech/go-zero/core/stores/sqlx" )