20 lines
371 B
Go
Raw Normal View History

2019-06-03 09:32:43 +00:00
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)
}