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
+3 -2
View File
@@ -4,13 +4,14 @@ import (
"context"
"errors"
"fmt"
"sync"
"time"
"github.com/sot-tech/mochi/bittorrent"
"github.com/sot-tech/mochi/middleware"
"github.com/sot-tech/mochi/middleware/pkg/random"
"github.com/sot-tech/mochi/storage"
"gopkg.in/yaml.v3"
"sync"
"time"
)
// Name is the name by which this middleware is registered with Conf.
+2 -1
View File
@@ -3,9 +3,10 @@ package varinterval
import (
"context"
"fmt"
"testing"
"github.com/sot-tech/mochi/bittorrent"
"github.com/stretchr/testify/require"
"testing"
)
var configTests = []struct {