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