For Song.ArtistTitle() a comment was updated.
This commit is contained in:
parent
8079058b5c
commit
b659464118
@ -16,8 +16,7 @@ type Song struct {
|
|||||||
StartAt time.Time
|
StartAt time.Time
|
||||||
}
|
}
|
||||||
|
|
||||||
// ArtistTitle returns a concatination of an artist and a title with a hyphen
|
// ArtistTitle returns a string formatted as "<artist> - <title>".
|
||||||
// between then.
|
|
||||||
func (s *Song) ArtistTitle() string {
|
func (s *Song) ArtistTitle() string {
|
||||||
return s.Artist + " - " + s.Title
|
return s.Artist + " - " + s.Title
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user