23 lines
511 B
Go
Raw Normal View History

2018-03-09 04:26:34 +00:00
package animediff
// ShorterSynopsis describes differing Japanese titles.
type ShorterSynopsis struct {
SynopsisA string
SynopsisB string
}
// String returns the description.
func (diff *ShorterSynopsis) String() string {
return "Synopsis is shorter"
}
// DetailsA shows the details for the first anime.
func (diff *ShorterSynopsis) DetailsA() string {
return diff.SynopsisA
}
// DetailsB shows the details for the second anime.
func (diff *ShorterSynopsis) DetailsB() string {
return diff.SynopsisB
}