Skip to content

Instantly share code, notes, and snippets.

@gufranmirza gufranmirza/main.go
Created Aug 11, 2019

Embed
What would you like to do?
var albums []Album = []Album{
Album{
ID: "ts-fearless",
Artist: "1",
Title: "Fearless",
Year: "2008",
Type: "album",
},
}
var artists []Artist = []Artist{
Artist{
ID: "1",
Name: "Taylor Swift",
Type: "artist",
},
}
var songs []Song = []Song{
Song{
ID: "1",
Album: "ts-fearless",
Title: "Fearless",
Duration: "4:01",
Type: "song",
},
Song{
ID: "2",
Album: "ts-fearless",
Title: "Fifteen",
Duration: "4:54",
Type: "song",
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.