New user profile

This commit is contained in:
2018-11-15 20:19:40 +09:00
parent a1c11a2eae
commit d5dff615c1
29 changed files with 271 additions and 141 deletions

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}

View File

@ -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"
}