style: fix lint (#1335)
This commit is contained in:
@@ -820,6 +820,7 @@ type AlertDict struct {
|
||||
USCERT []Alert `json:"uscert"`
|
||||
}
|
||||
|
||||
// IsEmpty checks if the content of AlertDict is empty
|
||||
func (a AlertDict) IsEmpty() bool {
|
||||
return len(a.CISA) == 0 && len(a.JPCERT) == 0 && len(a.USCERT) == 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user