Splits bleve.Index and database in two

This commit is contained in:
2016-01-21 19:19:04 +01:00
parent b044fa17ab
commit ef458eaaea
7 changed files with 132 additions and 235 deletions

View File

@@ -1,6 +1,9 @@
package main
import "time"
import (
"strconv"
"time"
)
// An AlbumState describe the state of an Album
type AlbumState int
@@ -63,3 +66,7 @@ type Album struct {
FetchDate time.Time
}
func (a *Album) IDString() string {
return strconv.FormatUint(uint64(a.ID), 10)
}