// NewPresenter is a *Presenter constructor
NewPresenter is a *Presenter constructor
// NewPresenter is a * Presenter constructor
func NewPresenter(results match.Matches, packages []pkg.Package, srcMetadata *source.Metadata, metadataProvider vulnerability.MetadataProvider, embedded bool, format cyclonedx.BOMFileFormat) *Presenter {
	return &Presenter{
		results:          results,
		packages:         packages,
		metadataProvider: metadataProvider,
		srcMetadata:      srcMetadata,
		embedded:         embedded,
		format:           format,
	}
}
func NewPresenter ( results match . Matches , packages [ ] pkg . Package , srcMetadata * source . Metadata , metadataProvider vulnerability . MetadataProvider , embedded bool , format cyclonedx . BOMFileFormat ) * Presenter { return & Presenter { results : results , packages : packages , metadataProvider : metadataProvider , srcMetadata : srcMetadata , embedded : embedded , format : format , } }
NewPresenter is a *Presenter constructor
NewPresenter is a * Presenter constructor