Added short synopsis diff
This commit is contained in:
22
utils/animediff/LongerSynopsis.go
Normal file
22
utils/animediff/LongerSynopsis.go
Normal file
@ -0,0 +1,22 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user