Added arn to the main repository
This commit is contained in:
19
arn/KitsuMatch.go
Normal file
19
arn/KitsuMatch.go
Normal file
@ -0,0 +1,19 @@
|
||||
package arn
|
||||
|
||||
import (
|
||||
"github.com/animenotifier/kitsu"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
)
|
||||
|
||||
// KitsuMatch ...
|
||||
type KitsuMatch struct {
|
||||
KitsuItem *kitsu.LibraryEntry `json:"kitsuItem"`
|
||||
ARNAnime *Anime `json:"arnAnime"`
|
||||
}
|
||||
|
||||
// JSON ...
|
||||
func (match *KitsuMatch) JSON() string {
|
||||
b, err := jsoniter.Marshal(match)
|
||||
PanicOnError(err)
|
||||
return string(b)
|
||||
}
|
Reference in New Issue
Block a user