Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorStat ¶
type ErrorStat struct {
Field string `json:"field"`
ErrorType string `json:"error_type"`
ErrorDescription string `json:"error_description"`
ErrorCount uint64 `json:"error_count"`
RecordCount uint64 `json:"record_count"`
ErrorPercent float64 `json:"error_percent"`
}
func (*ErrorStat) CalculatePercentage ¶
func (e *ErrorStat) CalculatePercentage()
func (*ErrorStat) IncErrCount ¶
func (e *ErrorStat) IncErrCount()
type ErrorStats ¶
type RecordWrapper ¶
type RecordWrapper struct {
Errors []records.SchemaError `json:"errors"`
Record interface{} `json:"record"`
}
type RecordsValidationResult ¶
type RecordsValidationResult struct {
Collections map[string][]RecordWrapper `json:"collections"`
Stats map[string]*records.CollectionStat `json:"stats"`
}
Click to show internal directories.
Click to hide internal directories.