Fixed a few linter hints

This commit is contained in:
2019-06-07 10:03:16 +09:00
parent 0e4f7fe6ec
commit f464e830bf
21 changed files with 52 additions and 29 deletions

View File

@ -4,8 +4,8 @@ import (
"fmt"
"github.com/akyoto/color"
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/kitsu"
"github.com/animenotifier/notify.moe/arn"
)
func main() {

View File

@ -4,8 +4,8 @@ import (
"errors"
"flag"
"github.com/animenotifier/notify.moe/arn/stringutils"
"github.com/animenotifier/kitsu"
"github.com/animenotifier/notify.moe/arn/stringutils"
)
// Shell parameters

View File

@ -4,8 +4,8 @@ import (
"fmt"
"github.com/akyoto/color"
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/kitsu"
"github.com/animenotifier/notify.moe/arn"
)
func main() {

View File

@ -6,9 +6,9 @@ import (
"os"
"github.com/akyoto/color"
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/mal"
malparser "github.com/animenotifier/mal/parser"
"github.com/animenotifier/notify.moe/arn"
)
// Read anime file

View File

@ -6,8 +6,8 @@ import (
"os"
"github.com/akyoto/color"
"github.com/animenotifier/notify.moe/arn"
malparser "github.com/animenotifier/mal/parser"
"github.com/animenotifier/notify.moe/arn"
)
// Read character file

View File

@ -5,8 +5,8 @@ import (
"strings"
"github.com/akyoto/color"
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/mal"
"github.com/animenotifier/notify.moe/arn"
)
const imageWidthThreshold = 225

View File

@ -5,8 +5,8 @@ import (
"github.com/aerogo/http/client"
"github.com/akyoto/color"
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/mal"
"github.com/animenotifier/notify.moe/arn"
)
// Sync titles