[lbry] ci: fix linting errors

This commit is contained in:
Roy Lee 2021-09-14 12:22:08 -07:00
parent ee79ce7992
commit 44869b8b01
5 changed files with 5 additions and 4 deletions

View file

@ -11,10 +11,10 @@ import (
"testing"
"time"
"github.com/davecgh/go-spew/spew"
"github.com/lbryio/lbcd/chaincfg/chainhash"
"github.com/lbryio/lbcd/wire"
"github.com/lbryio/lbcutil"
"github.com/davecgh/go-spew/spew"
)
// TestBlock tests the API for Block.

View file

@ -12,8 +12,8 @@ import (
"sort"
"github.com/aead/siphash"
"github.com/lbryio/lbcd/wire"
"github.com/kkdai/bstream"
"github.com/lbryio/lbcd/wire"
)
// Inspired by https://github.com/rasky/gcs

1
net.go
View file

@ -2,6 +2,7 @@
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
//go:build !appengine
// +build !appengine
package lbcutil

View file

@ -11,11 +11,11 @@ import (
"encoding/hex"
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/lbryio/lbcd/chaincfg/chainhash"
"github.com/lbryio/lbcd/txscript"
"github.com/lbryio/lbcd/wire"
"github.com/lbryio/lbcutil"
"github.com/davecgh/go-spew/spew"
)
// Test vectors from:

View file

@ -10,9 +10,9 @@ import (
"reflect"
"testing"
"github.com/davecgh/go-spew/spew"
"github.com/lbryio/lbcd/chaincfg/chainhash"
"github.com/lbryio/lbcutil"
"github.com/davecgh/go-spew/spew"
)
// TestTx tests the API for Tx.