Implements the database

This commit is contained in:
2016-01-21 20:24:36 +01:00
parent 40e1e55215
commit 4a18666fe2
5 changed files with 109 additions and 21 deletions

View File

@@ -67,6 +67,6 @@ type Album struct {
FetchDate time.Time
}
func (a *Album) IDString() string {
return strconv.FormatUint(uint64(a.ID), 10)
func AlbumIDString(ID AlbumID) string {
return strconv.FormatUint(uint64(ID), 10)
}