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" )