Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLiteFormatter ¶
type SQLiteFormatter struct {
// contains filtered or unexported fields
}
SQLiteFormatter writes validation results to a SQLite database validation_results table
func NewSQLiteFormatter ¶
func NewSQLiteFormatter(db *sql.DB, batchSize int, clear bool) *SQLiteFormatter
NewSQLiteFormatter creates a new SQLite formatter
func (*SQLiteFormatter) CountResults ¶
CountResults returns the number of validation results in the database
func (*SQLiteFormatter) Format ¶
func (f *SQLiteFormatter) Format(ctx context.Context, report *usecase.ValidationReport) error
Format writes validation report to SQLite validation_results table
Click to show internal directories.
Click to hide internal directories.