New user profile
This commit is contained in:
@ -7,8 +7,8 @@ type CanonicalTitle struct {
|
||||
NumericHash uint64
|
||||
}
|
||||
|
||||
// Type returns the diff type.
|
||||
func (diff *CanonicalTitle) Type() string {
|
||||
// TypeName returns the diff type.
|
||||
func (diff *CanonicalTitle) TypeName() string {
|
||||
return "CanonicalTitle"
|
||||
}
|
||||
|
||||
|
@ -7,8 +7,8 @@ type EndDate struct {
|
||||
NumericHash uint64
|
||||
}
|
||||
|
||||
// Type returns the diff type.
|
||||
func (diff *EndDate) Type() string {
|
||||
// TypeName returns the diff type.
|
||||
func (diff *EndDate) TypeName() string {
|
||||
return "EndDate"
|
||||
}
|
||||
|
||||
|
@ -9,8 +9,8 @@ type EpisodeCount struct {
|
||||
NumericHash uint64
|
||||
}
|
||||
|
||||
// Type returns the diff type.
|
||||
func (diff *EpisodeCount) Type() string {
|
||||
// TypeName returns the diff type.
|
||||
func (diff *EpisodeCount) TypeName() string {
|
||||
return "EpisodeCount"
|
||||
}
|
||||
|
||||
|
@ -9,8 +9,8 @@ type Genres struct {
|
||||
NumericHash uint64
|
||||
}
|
||||
|
||||
// Type returns the diff type.
|
||||
func (diff *Genres) Type() string {
|
||||
// TypeName returns the diff type.
|
||||
func (diff *Genres) TypeName() string {
|
||||
return "Genres"
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ package animediff
|
||||
|
||||
// Difference describes a difference between two anime.
|
||||
type Difference interface {
|
||||
Type() string
|
||||
TypeName() string
|
||||
Explanation() string
|
||||
DetailsA() string
|
||||
DetailsB() string
|
||||
|
@ -7,8 +7,8 @@ type JapaneseTitle struct {
|
||||
NumericHash uint64
|
||||
}
|
||||
|
||||
// Type returns the diff type.
|
||||
func (diff *JapaneseTitle) Type() string {
|
||||
// TypeName returns the diff type.
|
||||
func (diff *JapaneseTitle) TypeName() string {
|
||||
return "JapaneseTitle"
|
||||
}
|
||||
|
||||
|
@ -7,8 +7,8 @@ type RomajiTitle struct {
|
||||
NumericHash uint64
|
||||
}
|
||||
|
||||
// Type returns the diff type.
|
||||
func (diff *RomajiTitle) Type() string {
|
||||
// TypeName returns the diff type.
|
||||
func (diff *RomajiTitle) TypeName() string {
|
||||
return "RomajiTitle"
|
||||
}
|
||||
|
||||
|
@ -7,8 +7,8 @@ type StartDate struct {
|
||||
NumericHash uint64
|
||||
}
|
||||
|
||||
// Type returns the diff type.
|
||||
func (diff *StartDate) Type() string {
|
||||
// TypeName returns the diff type.
|
||||
func (diff *StartDate) TypeName() string {
|
||||
return "StartDate"
|
||||
}
|
||||
|
||||
|
@ -7,8 +7,8 @@ type Status struct {
|
||||
NumericHash uint64
|
||||
}
|
||||
|
||||
// Type returns the diff type.
|
||||
func (diff *Status) Type() string {
|
||||
// TypeName returns the diff type.
|
||||
func (diff *Status) TypeName() string {
|
||||
return "Status"
|
||||
}
|
||||
|
||||
|
@ -7,8 +7,8 @@ type Synopsis struct {
|
||||
NumericHash uint64
|
||||
}
|
||||
|
||||
// Type returns the diff type.
|
||||
func (diff *Synopsis) Type() string {
|
||||
// TypeName returns the diff type.
|
||||
func (diff *Synopsis) TypeName() string {
|
||||
return "Synopsis"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user