presenter

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: MIT Imports: 6 Imported by: 0

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

func (f *SQLiteFormatter) CountResults(ctx context.Context, tableName string) (int, error)

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

Jump to

Keyboard shortcuts

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