Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncIgnoredFieldsCount ¶
func IncIgnoredFieldsCount()
func IncIgnoredLinesCount ¶
func IncIgnoredLinesCount()
func IncIgnoredPathsCount ¶
func IncIgnoredPathsCount()
func SetDuration ¶ added in v1.16.0
Types ¶
type ExecutionStats ¶
type ExecutionStats interface { WithErrorCode(ec int) ExecutionStats GetErrorCode() int GetIgnoredPathsCount() int // counter for path not found in data GetIgnoredLinesCount() int // counter for line skipped (flag --skip-line-on-error) GetIgnoredFieldsCount() int // counter for field skipped (flag --skip-field-on-error) GetDuration() time.Duration ToJSON() []byte }
func WithErrorCode ¶ added in v1.12.0
func WithErrorCode(ec int) ExecutionStats
Click to show internal directories.
Click to hide internal directories.