Skip to content

Commit

Permalink
Merge pull request #846 from go-wyvern/format_package
Browse files Browse the repository at this point in the history
fix use error format package
  • Loading branch information
xushiwei authored Oct 17, 2021
2 parents 53e671a + 5526190 commit 3d2a6ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cmd/gopfmt/gopfmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ package main
import (
"flag"
"fmt"
"go/format"
"io"
"io/fs"
"io/ioutil"
"os"
"path/filepath"
"strings"

"github.com/goplus/gop/format"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion cmd/internal/gopfmt/fmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ package gopfmt
import (
"bytes"
"fmt"
"github.com/qiniu/x/log"
"io/fs"
"io/ioutil"
"os"
"path/filepath"
"strings"

"github.com/qiniu/x/log"

"github.com/goplus/gop/cmd/internal/base"
"github.com/goplus/gop/format"
)
Expand Down

0 comments on commit 3d2a6ae

Please sign in to comment.