[lbry] ci: fix linting errors

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

View file

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

View file

@ -12,8 +12,8 @@ import (
"sort" "sort"
"github.com/aead/siphash" "github.com/aead/siphash"
"github.com/lbryio/lbcd/wire"
"github.com/kkdai/bstream" "github.com/kkdai/bstream"
"github.com/lbryio/lbcd/wire"
) )
// Inspired by https://github.com/rasky/gcs // 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 // Use of this source code is governed by an ISC
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
//go:build !appengine
// +build !appengine // +build !appengine
package lbcutil package lbcutil

View file

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

View file

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