modelmerger

package
v0.0.0-...-48efc6b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelMerger

type ModelMerger struct {
	// contains filtered or unexported fields
}

func NewModelMerger

func NewModelMerger(cl changelog, logger *slog.Logger) *ModelMerger

NewModelMerger creates a new ModelMerger instance

func (*ModelMerger) Merge

func (mm *ModelMerger) Merge(models []common.ThreatModel) common.ThreatModel

Merge merges multiple threat models into one. It returns an empty threat model if no models are provided. If only one model is provided, it returns that model. If multiple models are provided, it merges them into one model.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL