浏览代码

fix golint issues (#1027)

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
 package clickhouse
 
 
 import (
 import (
+	// imports the driver, don't remove this comment, golint requires.
 	_ "github.com/ClickHouse/clickhouse-go"
 	_ "github.com/ClickHouse/clickhouse-go"
 	"github.com/tal-tech/go-zero/core/stores/sqlx"
 	"github.com/tal-tech/go-zero/core/stores/sqlx"
 )
 )

+ 1 - 0
core/stores/postgres/postgresql.go

@@ -1,6 +1,7 @@
 package postgres
 package postgres
 
 
 import (
 import (
+	// imports the driver, don't remove this comment, golint requires.
 	_ "github.com/lib/pq"
 	_ "github.com/lib/pq"
 	"github.com/tal-tech/go-zero/core/stores/sqlx"
 	"github.com/tal-tech/go-zero/core/stores/sqlx"
 )
 )