@ -1,7 +1,6 @@
package clickhouse
import (
// imports the driver.
_ "github.com/ClickHouse/clickhouse-go"
"github.com/tal-tech/go-zero/core/stores/sqlx"
)
package postgres
_ "github.com/lib/pq"
@ -173,7 +173,6 @@ func TestExtractValidTraceContext(t *testing.T) {
}
func TestExtractInvalidTraceContext(t *testing.T) {
tests := []struct {
name string
header string
@ -6,8 +6,6 @@ import (
"runtime"
"github.com/logrusorgru/aurora"
"github.com/urfave/cli"
"github.com/tal-tech/go-zero/core/load"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/stat"
@ -32,6 +30,7 @@ import (
rpc "github.com/tal-tech/go-zero/tools/goctl/rpc/cli"
"github.com/tal-tech/go-zero/tools/goctl/tpl"
"github.com/tal-tech/go-zero/tools/goctl/upgrade"
var commands = []cli.Command{
@ -6,11 +6,10 @@ import (
"path/filepath"
"github.com/tal-tech/go-zero/tools/goctl/rpc/generator"
"github.com/tal-tech/go-zero/tools/goctl/util"
"github.com/tal-tech/go-zero/tools/goctl/util/env"
// RPC is to generate rpc service code from a proto file by specifying a proto file using flag src,
@ -8,7 +8,6 @@ import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/stringx"
conf "github.com/tal-tech/go-zero/tools/goctl/config"
@ -6,7 +6,6 @@ import (
"github.com/tal-tech/go-zero/tools/goctl/vars"