1
0

For Song.ArtistTitle() a comment was updated.

This commit is contained in:
Alexander Andreev 2023-10-05 18:02:33 +04:00
parent 8079058b5c
commit b659464118
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

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