X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=scheme.go;h=e790884ad0b77c5f92a588951cf901b09e46eb75;hb=976639a8b7715af5c74d66d0fb66477ff1470b89;hp=b839282e77295ebd678da428d071f60a41502c16;hpb=443182b338389120eb9039e27fe49f7b28cc5419;p=meta4ra.git diff --git a/scheme.go b/scheme.go index b839282..e790884 100644 --- a/scheme.go +++ b/scheme.go @@ -1,19 +1,17 @@ -/* -meta4a -- Metalink 4.0 creator -Copyright (C) 2021-2023 Sergey Matveev - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, version 3 of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ +// meta4ra -- Metalink 4.0 utilities +// Copyright (C) 2021-2024 Sergey Matveev +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, version 3 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . package meta4ra @@ -35,7 +33,7 @@ type File struct { Description string `xml:"description,,omitempty"` Hashes []Hash `xml:"hash,,omitempty"` MetaURLs []MetaURL `xml:"metaurl,,omitempty"` - Signature *Signature `xml:"signature"` + Signature []Signature `xml:"signature"` Size uint64 `xml:"size,,omitempty"` URLs []URL `xml:"url,,omitempty"` }