Adds a skeleton for an AlbumDescriptionCache
This commit is contained in:
17
album_description_cache.go
Normal file
17
album_description_cache.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
// An AlbumDescriptionCache is used to fetch and cache AlbumDescription from www.bedetheque.com
|
||||
type AlbumDescriptionCache struct {
|
||||
}
|
||||
|
||||
// NewAlbumDescriptionCache is creating a new album description at specified location
|
||||
func NewAlbumDescriptionCache(filepath string) (*AlbumDescriptionCache, error) {
|
||||
return nil, fmt.Errorf("Not yet implemented")
|
||||
}
|
||||
|
||||
// GetDescription retrieves from the cache or either from www.bedetheque.com the AlbumDescription of an album
|
||||
func (c *AlbumDescriptionCache) GetDescription(ID AlbumID) (*AlbumDescription, error) {
|
||||
return nil, fmt.Errorf("Not yet implemented")
|
||||
}
|
||||
Reference in New Issue
Block a user