Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaRules ¶
type SchemaRules struct { // Directives Separater rune ExactColumns int // Checks CheckOrdered bool Ordered bool CheckFixed bool Fixed bool ExtraCols []string // Other Comment rune Errors int // count of schema-specific errors NA []string // NA values EMPTY []string // empty values YAMLData map[string]interface{} // Columns Columns []Col // Output configuration OutputOrder string // by data input or by schema }
func (*SchemaRules) IsFixed ¶
func (s *SchemaRules) IsFixed(colnames []string)
IsFixed - test whether column names match exactly
func (*SchemaRules) IsOrdered ¶
func (s *SchemaRules) IsOrdered(colnames []string)
IsOrdered - test whether column names are in the same order as the schema.
Click to show internal directories.
Click to hide internal directories.