Skip to content

Commit 1ded697

Browse files
committed
multi: sort import paths with gofmt
1 parent d0179eb commit 1ded697

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+115
-115
lines changed

autopilot/agent.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"sync"
55
"sync/atomic"
66

7-
"github.com/davecgh/go-spew/spew"
8-
"github.com/lightningnetwork/lnd/lnwire"
97
"github.com/btcsuite/btcd/btcec"
108
"github.com/btcsuite/btcutil"
9+
"github.com/davecgh/go-spew/spew"
10+
"github.com/lightningnetwork/lnd/lnwire"
1111
)
1212

1313
// Config couples all the items that an autopilot agent needs to function.

autopilot/graph.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"sync/atomic"
88
"time"
99

10+
"github.com/btcsuite/btcd/btcec"
11+
"github.com/btcsuite/btcutil"
1012
"github.com/coreos/bbolt"
1113
"github.com/lightningnetwork/lnd/channeldb"
1214
"github.com/lightningnetwork/lnd/lnwire"
13-
"github.com/btcsuite/btcd/btcec"
14-
"github.com/btcsuite/btcutil"
1515
)
1616

1717
var (

autopilot/interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package autopilot
33
import (
44
"net"
55

6-
"github.com/lightningnetwork/lnd/lnwire"
76
"github.com/btcsuite/btcd/btcec"
87
"github.com/btcsuite/btcd/wire"
98
"github.com/btcsuite/btcutil"
9+
"github.com/lightningnetwork/lnd/lnwire"
1010
)
1111

1212
// Node node is an interface which represents n abstract vertex within the

autopilot/prefattach_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88

99
prand "math/rand"
1010

11-
"github.com/lightningnetwork/lnd/channeldb"
12-
"github.com/lightningnetwork/lnd/lnwire"
1311
"github.com/btcsuite/btcd/btcec"
1412
"github.com/btcsuite/btcutil"
13+
"github.com/lightningnetwork/lnd/channeldb"
14+
"github.com/lightningnetwork/lnd/lnwire"
1515
)
1616

1717
func TestConstrainedPrefAttachmentNeedMoreChan(t *testing.T) {

brontide/conn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"net"
88
"time"
99

10-
"github.com/lightningnetwork/lnd/lnwire"
1110
"github.com/btcsuite/btcd/btcec"
11+
"github.com/lightningnetwork/lnd/lnwire"
1212
)
1313

1414
// Conn is an implementation of net.Conn which enforces an authenticated key

brontide/noise_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"sync"
1010
"testing"
1111

12-
"github.com/lightningnetwork/lnd/lnwire"
1312
"github.com/btcsuite/btcd/btcec"
13+
"github.com/lightningnetwork/lnd/lnwire"
1414
)
1515

1616
type maybeNetConn struct {

chainntnfs/bitcoindnotify/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package bitcoindnotify
33
import (
44
"fmt"
55

6-
"github.com/lightningnetwork/lnd/chainntnfs"
76
"github.com/btcsuite/btcd/chaincfg"
87
"github.com/btcsuite/btcd/rpcclient"
8+
"github.com/lightningnetwork/lnd/chainntnfs"
99
)
1010

1111
// createNewNotifier creates a new instance of the ChainNotifier interface

chainntnfs/btcdnotify/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package btcdnotify
33
import (
44
"fmt"
55

6-
"github.com/lightningnetwork/lnd/chainntnfs"
76
"github.com/btcsuite/btcd/rpcclient"
7+
"github.com/lightningnetwork/lnd/chainntnfs"
88
)
99

1010
// createNewNotifier creates a new instance of the ChainNotifier interface

chan_series.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ package main
33
import (
44
"time"
55

6+
"github.com/btcsuite/btcd/chaincfg/chainhash"
67
"github.com/lightningnetwork/lnd/channeldb"
78
"github.com/lightningnetwork/lnd/discovery"
89
"github.com/lightningnetwork/lnd/lnwire"
910
"github.com/lightningnetwork/lnd/routing"
10-
"github.com/btcsuite/btcd/chaincfg/chainhash"
1111
)
1212

1313
// chanSeries is an implementation of the discovery.ChannelGraphTimeSeries

chancloser.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ package main
33
import (
44
"fmt"
55

6+
"github.com/btcsuite/btcd/txscript"
7+
"github.com/btcsuite/btcd/wire"
8+
"github.com/btcsuite/btcutil"
69
"github.com/davecgh/go-spew/spew"
710
"github.com/lightningnetwork/lnd/htlcswitch"
811
"github.com/lightningnetwork/lnd/lnwallet"
912
"github.com/lightningnetwork/lnd/lnwire"
10-
"github.com/btcsuite/btcd/txscript"
11-
"github.com/btcsuite/btcd/wire"
12-
"github.com/btcsuite/btcutil"
1313
)
1414

1515
var (

0 commit comments

Comments
 (0)