Versions in this module Expand all Collapse all v0 v0.12.0 Aug 29, 2024 v0.11.0 Aug 29, 2024 v0.10.0 Aug 28, 2024 Changes in this version + var ErrDB = errors.New("database connection is nil") + var ErrExist = errors.New("file already exists") + type DemozooLink struct + Content string + CreditArt []string + CreditAudio []string + CreditCode []string + CreditText []string + Error string + FileHash string + FileSize int + FileType string + Filename string + Github string + ID int + IssuedDay int16 + IssuedMonth int16 + IssuedYear int16 + Platform string + Pouet int + Releaser1 string + Releaser2 string + Section string + Title string + UUID string + YouTube string + func (got *DemozooLink) ArchiveContent(c echo.Context, db *sql.DB, src string) error + func (got *DemozooLink) Download(c echo.Context, db *sql.DB, downloadDir string) error + func (got *DemozooLink) Stat(c echo.Context, db *sql.DB, downloadDir string) error + func (got DemozooLink) Update(c echo.Context, db *sql.DB) error + type PouetLink struct + Content string + Demozoo int + Error string + FileHash string + FileSize int + FileType string + Filename string + ID int + IssuedDay int16 + IssuedMonth int16 + IssuedYear int16 + Platform string + Releaser1 string + Releaser2 string + Section string + Title string + UUID string + func (got *PouetLink) ArchiveContent(c echo.Context, db *sql.DB, src string) error + func (got *PouetLink) Download(c echo.Context, db *sql.DB, downloadDir string) error + func (got *PouetLink) Stat(c echo.Context, db *sql.DB, downloadDir string) error + func (got PouetLink) Update(c echo.Context, db *sql.DB) error