Added arn to the main repository
This commit is contained in:
@ -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.
|
||||
|
@ -1,6 +1,6 @@
|
||||
package utils
|
||||
|
||||
import "github.com/animenotifier/arn"
|
||||
import "github.com/animenotifier/notify.moe/arn"
|
||||
|
||||
// AnimeWithRelatedAnime ...
|
||||
type AnimeWithRelatedAnime struct {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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.
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package utils
|
||||
|
||||
import "time"
|
||||
import "github.com/animenotifier/arn"
|
||||
import "github.com/animenotifier/notify.moe/arn"
|
||||
|
||||
// UserStats ...
|
||||
type UserStats struct {
|
||||
|
@ -3,7 +3,7 @@ package utils
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/animenotifier/arn"
|
||||
"github.com/animenotifier/notify.moe/arn"
|
||||
"github.com/pariz/gountries"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user