Skip to content

Commit

Permalink
format code, and reorg imports (zeromicro#991)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan authored Sep 4, 2021
1 parent 2125977 commit 0325d8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/goctl/util/ctx/gomod.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package ctx

import (
"errors"
"github.com/tal-tech/go-zero/tools/goctl/util"
"os"
"path/filepath"

"github.com/tal-tech/go-zero/core/jsonx"
"github.com/tal-tech/go-zero/tools/goctl/rpc/execx"
"github.com/tal-tech/go-zero/tools/goctl/util"
)

// Module contains the relative data of go module,
Expand Down
4 changes: 2 additions & 2 deletions tools/goctl/util/path_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package util

import (
"github.com/stretchr/testify/assert"
"io/ioutil"
"os"
"path/filepath"
"testing"

"github.com/stretchr/testify/assert"
)

func TestReadLink(t *testing.T) {
Expand All @@ -28,7 +29,6 @@ func TestReadLink(t *testing.T) {
assert.Nil(t, err)
assert.Equal(t, pwd, ret)
})

}

func assertError(err error, t *testing.T) {
Expand Down

0 comments on commit 0325d8e

Please sign in to comment.