Documentation ¶
Index ¶
Constants ¶
View Source
const ( KindArtworkScore = "ArtworkScore" // namespace: [default] KindArtworkRecord = "ArtworkRecord" // namespace: account KindArtworkUploadInfo = "ArtworkUploadInfo" // namespace: [default] )
Variables ¶
This section is empty.
Functions ¶
func ArtworkScoreKey ¶
func ArtworkUploadInfoKey ¶
Types ¶
type ArtworkRecord ¶
type ArtworkRecord struct { Score ArtworkScore SongIdent string }
Key: artwork hash
type ArtworkScore ¶
type ArtworkScore struct { Red, Orange, Brown, Yellow, Green, Blue, Violet, Pink, Black, Gray, White int }
Key: artwork hash
func ArtworkScoreFromSwatches ¶
func ArtworkScoreFromSwatches(swatches []Swatch) ArtworkScore
Click to show internal directories.
Click to hide internal directories.