Below you will see a Go program that has the Artist struct.
As you know, an Artist usually has one or more songs. Your task is to do the following:
- Create the
Songstruct. It must have two fields:Titleof thestringtype andDurationof theinttype. - Update the
Artiststruct and add the fieldSongsof the[]Songtype, so everyArtistcan have one or more songs.