Changed import path order
This commit is contained in:
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -3,8 +3,8 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
var ratings = map[string][]arn.AnimeListItemRating{}
|
||||
|
@ -10,8 +10,8 @@ import (
|
||||
_ "image/png"
|
||||
|
||||
"github.com/aerogo/http/client"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -10,8 +10,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/aerogo/log"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
var colorPool = []*color.Color{
|
||||
|
@ -6,9 +6,9 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/kitsu"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@ -37,7 +37,7 @@ func main() {
|
||||
Attributes: []*arn.CharacterAttribute{},
|
||||
HasMappings: arn.HasMappings{
|
||||
Mappings: []*arn.Mapping{
|
||||
&arn.Mapping{
|
||||
{
|
||||
Service: "kitsu/character",
|
||||
ServiceID: kitsuCharacter.ID,
|
||||
},
|
||||
|
@ -3,9 +3,9 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/kitsu"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -3,9 +3,9 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/kitsu"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
|
||||
"github.com/animenotifier/arn/osutils"
|
||||
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
|
||||
"github.com/aerogo/crawler"
|
||||
)
|
||||
|
@ -5,10 +5,10 @@ import (
|
||||
"errors"
|
||||
"os"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/mal"
|
||||
"github.com/animenotifier/mal/parser"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
// Read anime file
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"errors"
|
||||
"os"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/mal/parser"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
// Read character file
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
func parseCharacterDescription(input string) (output string, attributes []*arn.CharacterAttribute) {
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/mal"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
const imageWidthThreshold = 225
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/aerogo/http/client"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/mal"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
// Sync titles
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/arn/stringutils"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
var tickerFFXIV = time.NewTicker(1100 * time.Millisecond)
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/arn/stringutils"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
var tickerOsu = time.NewTicker(500 * time.Millisecond)
|
||||
|
@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/arn/stringutils"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
var tickerOW = time.NewTicker(1100 * time.Millisecond)
|
||||
|
@ -1,8 +1,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -3,8 +3,8 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/animenotifier/arn"
|
||||
|
||||
"github.com/animenotifier/kitsu"
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/kitsu"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -3,9 +3,9 @@ package main
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/shoboi"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -5,9 +5,9 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/akyoto/color"
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/twist"
|
||||
"github.com/akyoto/color"
|
||||
)
|
||||
|
||||
var rateLimiter = time.NewTicker(500 * time.Millisecond)
|
||||
|
Reference in New Issue
Block a user