build: run standard goimports on all files

This commit is contained in:
Thomas Modeneis 2018-04-06 16:48:42 +02:00
parent 84c3eadfbc
commit 431af6b970
4 changed files with 9 additions and 5 deletions

View file

@ -13,4 +13,5 @@ find_files() {
}
GOFMT="gofmt -s -w";
GOFMT="goimports -w";
find_files | xargs $GOFMT;

View file

@ -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

View file

@ -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 (

View file

@ -17,9 +17,10 @@
package fuse
import (
"github.com/ethereum/go-ethereum/swarm/api"
"sync"
"time"
"github.com/ethereum/go-ethereum/swarm/api"
)
const (