Added arn to the main repository

This commit is contained in:
2019-06-03 18:32:43 +09:00
parent cf258573a8
commit 29a48d94a5
465 changed files with 15968 additions and 288 deletions

View File

@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/arn"
)
// ActivityAPILink returns the API link for any activity.

View File

@ -1,6 +1,6 @@
package utils
import "github.com/animenotifier/arn"
import "github.com/animenotifier/notify.moe/arn"
// AnimeWithRelatedAnime ...
type AnimeWithRelatedAnime struct {

View File

@ -1,6 +1,6 @@
package utils
import "github.com/animenotifier/arn"
import "github.com/animenotifier/notify.moe/arn"
// CalendarDay is a calendar day.
type CalendarDay struct {

View File

@ -1,6 +1,6 @@
package utils
import "github.com/animenotifier/arn"
import "github.com/animenotifier/notify.moe/arn"
// Comparison of an anime between 2 users.
type Comparison struct {

View File

@ -2,7 +2,7 @@ package utils
import (
"github.com/aerogo/aero"
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/arn"
)
// GetUser returns the logged in user for the given context.

View File

@ -1,6 +1,6 @@
package utils
import "github.com/animenotifier/arn"
import "github.com/animenotifier/notify.moe/arn"
// HallOfFameEntry is an entry in the hall of fame.
type HallOfFameEntry struct {

View File

@ -1,6 +1,6 @@
package utils
import "github.com/animenotifier/arn"
import "github.com/animenotifier/notify.moe/arn"
// Intersection returns common elements of a and b.
func Intersection(a []string, b []string) []string {

View File

@ -6,7 +6,7 @@ import (
"time"
"github.com/akyoto/color"
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/arn"
)
// JobInfo gives you information about a background job.

View File

@ -1,7 +1,7 @@
package utils
import (
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/mal"
"github.com/animenotifier/notify.moe/utils/animediff"
)

View File

@ -1,6 +1,6 @@
package utils
import "github.com/animenotifier/arn"
import "github.com/animenotifier/notify.moe/arn"
// MaxAnime limits the number of anime that will maximally be returned.
func MaxAnime(animes []*arn.Anime, maxLength int) []*arn.Anime {

View File

@ -1,6 +1,6 @@
package utils
import "github.com/animenotifier/arn"
import "github.com/animenotifier/notify.moe/arn"
// UserList is a named list of users.
type UserList struct {

View File

@ -1,7 +1,7 @@
package utils
import "time"
import "github.com/animenotifier/arn"
import "github.com/animenotifier/notify.moe/arn"
// UserStats ...
type UserStats struct {

View File

@ -3,7 +3,7 @@ package utils
import (
"fmt"
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/arn"
"github.com/pariz/gountries"
)

View File

@ -7,7 +7,7 @@ import (
"strings"
"github.com/aerogo/api"
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/notify.moe/components"
"github.com/animenotifier/notify.moe/utils"
)

View File

@ -4,7 +4,7 @@ import (
"net/http"
"github.com/aerogo/aero"
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/arn"
"github.com/animenotifier/notify.moe/utils"
)