mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
build: run standard goimports on all files
This commit is contained in:
parent
84c3eadfbc
commit
431af6b970
4 changed files with 9 additions and 5 deletions
|
|
@ -13,4 +13,5 @@ find_files() {
|
|||
}
|
||||
|
||||
GOFMT="gofmt -s -w";
|
||||
GOFMT="goimports -w";
|
||||
find_files | xargs $GOFMT;
|
||||
|
|
@ -18,12 +18,13 @@
|
|||
package consensus
|
||||
|
||||
import (
|
||||
"math/big"
|
||||
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
"github.com/ethereum/go-ethereum/core/state"
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
"github.com/ethereum/go-ethereum/params"
|
||||
"github.com/ethereum/go-ethereum/rpc"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
// ChainReader defines a small collection of methods needed to access the local
|
||||
|
|
|
|||
|
|
@ -19,12 +19,13 @@
|
|||
package fuse
|
||||
|
||||
import (
|
||||
"bazil.org/fuse"
|
||||
"bazil.org/fuse/fs"
|
||||
"golang.org/x/net/context"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sync"
|
||||
|
||||
"bazil.org/fuse"
|
||||
"bazil.org/fuse/fs"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
|
|
@ -17,9 +17,10 @@
|
|||
package fuse
|
||||
|
||||
import (
|
||||
"github.com/ethereum/go-ethereum/swarm/api"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/ethereum/go-ethereum/swarm/api"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Reference in a new issue