Changed import path order

This commit is contained in:
2019-04-23 14:52:55 +09:00
parent c65f927678
commit 58a257f840
74 changed files with 164 additions and 164 deletions

View File

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

View File

@ -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{}

View File

@ -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() {

View File

@ -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{

View File

@ -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,
},

View File

@ -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() {

View File

@ -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() {

View File

@ -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"
)

View File

@ -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

View 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

View File

@ -7,8 +7,8 @@ import (
"path/filepath"
"strings"
"github.com/animenotifier/arn"
"github.com/akyoto/color"
"github.com/animenotifier/arn"
)
func main() {

View File

@ -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) {

View File

@ -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

View File

@ -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

View File

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

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -1,8 +1,8 @@
package main
import (
"github.com/animenotifier/arn"
"github.com/akyoto/color"
"github.com/animenotifier/arn"
)
func main() {

View File

@ -3,8 +3,8 @@ package main
import (
"fmt"
"github.com/animenotifier/arn"
"github.com/akyoto/color"
"github.com/animenotifier/arn"
)
func main() {

View File

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

View File

@ -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() {

View File

@ -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)