fix lint errors

This commit is contained in:
Lawrence, Rendall
2022-04-12 21:48:54 +03:00
parent 64eaf9d733
commit c9e0af8b1e
18 changed files with 36 additions and 17 deletions

View File

@@ -9,13 +9,15 @@ import (
"github.com/sot-tech/mochi/bittorrent"
"github.com/sot-tech/mochi/middleware"
"github.com/sot-tech/mochi/middleware/torrentapproval/container"
"gopkg.in/yaml.v3"
// import directory watcher to enable appropriate support
_ "github.com/sot-tech/mochi/middleware/torrentapproval/container/directory"
// import static list to enable appropriate support
_ "github.com/sot-tech/mochi/middleware/torrentapproval/container/list"
"github.com/sot-tech/mochi/pkg/stop"
"github.com/sot-tech/mochi/storage"
"gopkg.in/yaml.v3"
)
// Name is the name by which this middleware is registered with Conf.