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
@@ -76,6 +76,10 @@ func (c *ChromiumCreditCard) Name() string {
return "creditcard"
}
func (c *ChromiumCreditCard) Length() int {
return len(*c)
}
type YandexCreditCard []card
func (c *YandexCreditCard) Parse(masterKey []byte) error {
@@ -127,3 +131,7 @@ func (c *YandexCreditCard) Parse(masterKey []byte) error {
func (c *YandexCreditCard) Name() string {
return "creditcard"
}
func (c *YandexCreditCard) Length() int {
return len(*c)
}