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
// Other
Comment rune
Errors int // count of schema-specific errors
NA []string
YAMLData map[string]interface{}
// Columns
Columns []Col
}
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.