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
github_checks: false
ignore:
- "doc"
- "example"

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

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

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

Loading…
Cancel
Save