Remove YAML/MD lint configs, reformat stdlib imports

This commit is contained in:
Lawrence, Rendall
2022-04-12 18:10:51 +03:00
parent ec49168db9
commit c1956d68f6
28 changed files with 57 additions and 49 deletions
+4 -3
View File
@@ -1,14 +1,15 @@
package test
import (
"github.com/sot-tech/mochi/bittorrent"
"github.com/sot-tech/mochi/pkg/rand_seed"
"github.com/sot-tech/mochi/storage"
"math/rand"
"net"
"runtime"
"sync/atomic"
"testing"
"github.com/sot-tech/mochi/bittorrent"
"github.com/sot-tech/mochi/pkg/rand_seed"
"github.com/sot-tech/mochi/storage"
)
type benchData struct {
+2 -1
View File
@@ -1,10 +1,11 @@
package test
import (
"testing"
"github.com/sot-tech/mochi/bittorrent"
"github.com/sot-tech/mochi/storage"
"github.com/stretchr/testify/require"
"testing"
)
// PeerEqualityFunc is the boolean function to use to check two Peers for
+2 -1
View File
@@ -1,8 +1,9 @@
package test
import (
"github.com/sot-tech/mochi/bittorrent"
"net"
"github.com/sot-tech/mochi/bittorrent"
)
var (