Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrReporter ¶
type ErrReporter struct{}
ErrReporter implements UnitReporter and ChunkReporter but always returns an error.
func (ErrReporter) UnitOk ¶
func (ErrReporter) UnitOk(context.Context, sources.SourceUnit) error
type TestReporter ¶
type TestReporter struct { Units []sources.SourceUnit UnitErrs []error Chunks []sources.Chunk ChunkErrs []error }
TestReporter is a helper struct that implements both UnitReporter and ChunkReporter by simply recording the values passed in the methods.
func (*TestReporter) UnitOk ¶
func (t *TestReporter) UnitOk(_ context.Context, unit sources.SourceUnit) error
Click to show internal directories.
Click to hide internal directories.