Adds a skeleton for an AlbumDescriptionCache
This commit is contained in:
5
album.go
5
album.go
@@ -13,6 +13,9 @@ import (
|
||||
// An AlbumState describe the state of an Album
|
||||
type AlbumState int
|
||||
|
||||
// An AlbumID uniquely identifies an Album both here and www.bedetheque.com
|
||||
type AlbumID uint64
|
||||
|
||||
const (
|
||||
// NEW is "État neuf" state
|
||||
NEW AlbumState = iota // 0
|
||||
@@ -31,7 +34,7 @@ const (
|
||||
// This is basically the data we store on bdgest.com, and that we want
|
||||
// in our system to be retrieve from
|
||||
type Album struct {
|
||||
ID uint64
|
||||
ID AlbumID
|
||||
ISBN string
|
||||
Series string
|
||||
Title string
|
||||
|
||||
Reference in New Issue
Block a user