Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoQuery = errors.New("query statement is empty")
Functions ¶
func Prods ¶ added in v1.7.0
func Prods(p *releases.Productions) error
Prods adds the Demozoo releasers productions to the database. API: https://demozoo.org/api/v1/releasers/
Types ¶
type Record ¶
type Record struct {
WebIDDemozoo uint // Demozoo production id
ID string // MySQL auto increment id
UUID string // record unique id
Title string
Platform string
Section string
GroupFor string
GroupBy string
CreditText []string
CreditCode []string
CreditArt []string
CreditAudio []string
IssuedYear uint16
IssuedMonth uint8
IssuedDay uint8
}
Record contains the values for a new Demozoo releaser production to be added to the database file table.
func Prod ¶ added in v1.7.0
func Prod(prod releases.ProductionV1) Record
Prod mutates the raw Demozoo API releaser production data to database ready values.
Click to show internal directories.
Click to hide internal directories.