Преглед изворни кода

removed redundant newlines in import block

Bas van Kervel пре 10 година
родитељ
комит
95773b9673
7 измењених фајлова са 5 додато и 11 уклоњено
  1. 1 2
      cmd/geth/js.go
  2. 1 2
      cmd/mist/gui.go
  3. 0 1
      cmd/mist/ui_lib.go
  4. 1 2
      cmd/utils/flags.go
  5. 1 2
      core/chain_manager_test.go
  6. 0 1
      ethdb/database_test.go
  7. 1 1
      p2p/discover/udp_test.go

+ 1 - 2
cmd/geth/js.go

@@ -22,9 +22,8 @@ import (
 	"fmt"
 	"math/big"
 	"os"
-	"strings"
-
 	"path/filepath"
+	"strings"
 
 	"github.com/ethereum/go-ethereum/cmd/utils"
 	"github.com/ethereum/go-ethereum/common/docserver"

+ 1 - 2
cmd/mist/gui.go

@@ -27,12 +27,11 @@ import (
 	"fmt"
 	"io/ioutil"
 	"math/big"
+	"path/filepath"
 	"runtime"
 	"sort"
 	"time"
 
-	"path/filepath"
-
 	"github.com/ethereum/go-ethereum/common"
 	"github.com/ethereum/go-ethereum/core"
 	"github.com/ethereum/go-ethereum/core/types"

+ 0 - 1
cmd/mist/ui_lib.go

@@ -22,7 +22,6 @@ package main
 
 import (
 	"io/ioutil"
-
 	"path/filepath"
 
 	"github.com/ethereum/go-ethereum/common"

+ 1 - 2
cmd/utils/flags.go

@@ -7,9 +7,8 @@ import (
 	"math/big"
 	"net/http"
 	"os"
-	"runtime"
-
 	"path/filepath"
+	"runtime"
 
 	"github.com/codegangsta/cli"
 	"github.com/ethereum/ethash"

+ 1 - 2
core/chain_manager_test.go

@@ -4,12 +4,11 @@ import (
 	"fmt"
 	"math/big"
 	"os"
+	"path/filepath"
 	"runtime"
 	"strconv"
 	"testing"
 
-	"path/filepath"
-
 	"github.com/ethereum/go-ethereum/common"
 	"github.com/ethereum/go-ethereum/core/state"
 	"github.com/ethereum/go-ethereum/core/types"

+ 0 - 1
ethdb/database_test.go

@@ -2,7 +2,6 @@ package ethdb
 
 import (
 	"os"
-
 	"path/filepath"
 
 	"github.com/ethereum/go-ethereum/common"

+ 1 - 1
p2p/discover/udp_test.go

@@ -9,6 +9,7 @@ import (
 	logpkg "log"
 	"net"
 	"os"
+	"path/filepath"
 	"reflect"
 	"runtime"
 	"sync"
@@ -17,7 +18,6 @@ import (
 
 	"github.com/ethereum/go-ethereum/crypto"
 	"github.com/ethereum/go-ethereum/logger"
-    "path/filepath"
 )
 
 func init() {