// NewVulnerabilityItemList returns VulnerabilityItemList from lists
NewVulnerabilityItemList returns VulnerabilityItemList from lists
// NewVulnerabilityItemList returns VulnerabilityItemList from lists
func NewVulnerabilityItemList(lists ...*VulnerabilityItemList) *VulnerabilityItemList {
	var availableLists []*VulnerabilityItemList
	for _, li := range lists {
		if li != nil {
			availableLists = append(availableLists, li)
		}
	}
	if len(availableLists) == 0 {
		return nil
	}
	l := &VulnerabilityItemList{}
	for _, li := range availableLists {
		l.Add(li.Items()...)
	}
	return l
}
func NewVulnerabilityItemList ( lists ... * VulnerabilityItemList ) * VulnerabilityItemList { var availableLists [ ] * VulnerabilityItemList for _ , li := range lists { if li != nil { availableLists = append ( availableLists , li ) } } if len ( availableLists ) == 0 { return nil } l := & VulnerabilityItemList { } for _ , li := range availableLists { l . Add ( li . Items ( ) ... ) } return l }
NewVulnerabilityItemList returns VulnerabilityItemList from lists
NewVulnerabilityItemList returns VulnerabilityItemList from lists