Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
type Diagnostic struct {
// contains filtered or unexported fields
}
func NewDiagnostic ¶
func NewDiagnostic(res future.Future[result.Result[string]], file *gomutatedfile.GoMutatedFile) *Diagnostic
func (*Diagnostic) Diff ¶
func (d *Diagnostic) Diff(differ gomutatedfile.Differ) string
func (*Diagnostic) IsOk ¶
func (d *Diagnostic) IsOk() bool
func (*Diagnostic) Label ¶
func (d *Diagnostic) Label() string
type Ditto ¶
type Ditto struct {
// contains filtered or unexported fields
}
func New ¶
func New(repository Repository, laboratory Laboratory, reporter Reporter) *Ditto
type Laboratory ¶
type Laboratory interface {
Test(repository Repository, file *gomutatedfile.GoMutatedFile) future.Future[result.Result[string]]
}
type Reporter ¶
type Reporter interface {
AddDiagnostic(diagnostic *Diagnostic)
Summarize() result.Result[any]
}
type Repository ¶
type Repository interface {
ListGoSourceFiles() []*gosourcefile.GoSourceFile
LinkAllToTemporaryRepository(temporaryPath string) TemporaryRepository
}
type ScoreCalculator ¶
type TemporaryRepository ¶
Click to show internal directories.
Click to hide internal directories.