package
0.0.0-20230226003218-1dd1f65bfa42
Repository: https://github.com/c4-project/c4t.git
Documentation: pkg.go.dev
# Functions
Analysis sets some analysis options.
ErrorOnBadStatus makes the analyser fail if it observed any 'bad' statuses, if set to true.
New constructs a new analyser stage on plan p, with options opts.
ObserveSaveWith adds each observer in obs to the observer set for saving.
ObserveWith adds each observer in obs to the observer set for analysing.
OnAnalysis sends OnAnalysis to every instance observer in obs.
Options applies each option in opts in turn.
SaveToPathset makes this analyser stage save to the given pathset.
# Variables
ErrBadStatus is the error reported when the analyser is asked to error on a bad status, and one arrives.
ErrObserverNil occurs if we pass a nil Observer to ObserveWith.
# Interfaces
Observer represents the observer interface for the analyser stage.
# Type aliases
Option is the type of options to the analyser stage constructor.