fix: filter result if exported data is empty

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-06-05 15:27:14 +08:00
parent d1ae09d9e4
commit 7b8e2a3fd2
9 changed files with 85 additions and 11 deletions
@@ -70,6 +70,10 @@ func (c *ChromiumDownload) Name() string {
return "download"
}
func (c *ChromiumDownload) Length() int {
return len(*c)
}
type FirefoxDownload []download
const (
@@ -131,3 +135,7 @@ func (f *FirefoxDownload) Parse(masterKey []byte) error {
func (f *FirefoxDownload) Name() string {
return "download"
}
func (f *FirefoxDownload) Length() int {
return len(*f)
}