Documentation
¶
Index ¶
- Variables
- func GroupByDirectory(reports []reporter.Report) map[string][]reporter.Report
- func GroupByDouble(reports []reporter.Report, groupBy []string) (map[string]map[string][]reporter.Report, error)
- func GroupByErrorType(reports []reporter.Report) map[string][]reporter.Report
- func GroupByFileType(reports []reporter.Report) map[string][]reporter.Report
- func GroupByPassFail(reports []reporter.Report) map[string][]reporter.Report
- func GroupBySingle(reports []reporter.Report, groupBy string) (map[string][]reporter.Report, error)
- func GroupByTriple(reports []reporter.Report, groupBy []string) (map[string]map[string]map[string][]reporter.Report, error)
- type CLI
- type Option
- func WithFinder(f finder.FileFinder) Option
- func WithGroupOutput(groupOutput []string) Option
- func WithNoSchema(noSchema bool) Option
- func WithQuiet(quiet bool) Option
- func WithReporters(r ...reporter.Reporter) Option
- func WithRequireSchema(require bool) Option
- func WithSchemaMap(m map[string]string) Option
- func WithSchemaStore(s *schemastore.Store) Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GroupOutput []string Quiet bool RequireSchema bool NoSchema bool SchemaMap map[string]string SchemaStore *schemastore.Store )
Functions ¶
func GroupByDirectory ¶
Group Reports by Directory
func GroupByDouble ¶
func GroupByDouble(reports []reporter.Report, groupBy []string) (map[string]map[string][]reporter.Report, error)
Group Reports for two groupings
func GroupByErrorType ¶
Group Reports by Error Type (syntax, schema, or passed)
func GroupByFileType ¶
Group Reports by File Type
func GroupByPassFail ¶
Group Reports by Pass-Fail
func GroupBySingle ¶
Group Reports by single grouping
Types ¶
type Option ¶
type Option func(*CLI)
func WithFinder ¶
func WithFinder(f finder.FileFinder) Option
func WithGroupOutput ¶
func WithNoSchema ¶
func WithReporters ¶
func WithRequireSchema ¶
func WithSchemaMap ¶
func WithSchemaStore ¶
func WithSchemaStore(s *schemastore.Store) Option
Click to show internal directories.
Click to hide internal directories.