feat(macros): add Group (#1378)

This commit is contained in:
Vince Villamora 2024-01-26 23:26:18 +08:00 committed by GitHub
parent fffd5bbf56
commit 16bf2a52fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View file

@ -23,6 +23,7 @@ type Macro struct {
TorrentUrl string
TorrentDataRawBytes []byte
MagnetURI string
Group string
GroupID string
DownloadUrl string
InfoUrl string
@ -58,6 +59,7 @@ func NewMacro(release Release) Macro {
TorrentHash: release.TorrentHash,
TorrentID: release.TorrentID,
MagnetURI: release.MagnetURI,
Group: release.Group,
GroupID: release.GroupID,
InfoUrl: release.InfoURL,
DownloadUrl: release.DownloadURL,