reorg imports, format code (#1000)

master
Kevin Wan 3 years ago committed by GitHub
parent a4d8286e36
commit 10805577f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,4 @@
comment: false comment: false
github_checks: false
ignore: ignore:
- "doc" - "doc"
- "example" - "example"

@ -29,4 +29,4 @@ jobs:
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Codecov - name: Codecov
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v2

@ -6,10 +6,9 @@ import (
"io" "io"
"time" "time"
"go.opentelemetry.io/otel/trace"
"github.com/tal-tech/go-zero/core/timex" "github.com/tal-tech/go-zero/core/timex"
"github.com/tal-tech/go-zero/core/trace/tracespec" "github.com/tal-tech/go-zero/core/trace/tracespec"
"go.opentelemetry.io/otel/trace"
) )
type traceLogger struct { type traceLogger struct {

@ -34,8 +34,7 @@ import (
"github.com/tal-tech/go-zero/tools/goctl/upgrade" "github.com/tal-tech/go-zero/tools/goctl/upgrade"
) )
var ( var commands = []cli.Command{
commands = []cli.Command{
{ {
Name: "upgrade", Name: "upgrade",
Usage: "upgrade goctl to latest version", Usage: "upgrade goctl to latest version",
@ -640,8 +639,7 @@ var (
}, },
}, },
}, },
} }
)
func main() { func main() {
logx.Disable() logx.Disable()

Loading…
Cancel
Save