multi: run gosimports

This commit is contained in:
Oliver Gugger committed 2022-02-10 11:02:01 +01:00
1 parent d1b512ff92
commit dfdc2bff8b
44 files changed
+50 -95

No files matched your search

+1 -2
View File
@@ -8,8 +8,6 @@ import (
"runtime"
"testing"
"github.com/stretchr/testify/require"
"github.com/btcsuite/btcd/btcec"
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
@@ -22,6 +20,7 @@ import (
"github.com/lightningnetwork/lnd/lntest/channels"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/shachain"
"github.com/stretchr/testify/require"
)
var (
-1
View File
@@ -5,7 +5,6 @@ import (
"sync"
"github.com/btcsuite/btcutil"
"github.com/lightningnetwork/lnd/kvdb"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/routing/route"
-1
View File
@@ -7,7 +7,6 @@ import (
"image/color"
"io"
"math"
"net"
"github.com/btcsuite/btcd/btcec"
+1 -2
View File
@@ -2,13 +2,12 @@ package lnwire
import (
"bufio"
"bytes"
"crypto/sha256"
"encoding/binary"
"fmt"
"io"
"bytes"
"github.com/davecgh/go-spew/spew"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/tlv"
+2 -4
View File
@@ -1,13 +1,11 @@
package channeldb
import (
"bytes"
"encoding/binary"
"fmt"
"sync"
"io"
"bytes"
"sync"
"github.com/go-errors/errors"
"github.com/lightningnetwork/lnd/kvdb"
+1 -2
View File
@@ -1,9 +1,8 @@
package channeldb
import (
"testing"
"reflect"
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/go-errors/errors"