Explorar o código

fix golint issues (#1027)

Kevin Wan %!s(int64=3) %!d(string=hai) anos
pai
achega
24fd34413f
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  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"
 )