Kevin Wan преди 3 години
родител
ревизия
24fd34413f
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      core/stores/clickhouse/clickhouse.go
  2. 1 0
      core/stores/postgres/postgresql.go

+ 1 - 0
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"
 )

+ 1 - 0
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"
 )