Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVFile ¶
type CSVFile struct { Name string Header []string Lines [][]string UniqueColumns []string Output bool }
CSVFile represents the content of a CSV file.
type Column ¶
type Column struct { Name string `yaml:"name"` Type string `yaml:"type"` Suppress bool `yaml:"suppress"` Generator RawMessage `yaml:"processor"` }
Column represents the instructions to populate one CSV file column.
type Input ¶
type Input struct { Name string `yaml:"name"` Type string `yaml:"type"` Source RawMessage `yaml:"source"` }
Input represents a data source provided by the user.
type RawMessage ¶
type RawMessage struct {
UnmarshalFunc func(interface{}) error
}
RawMessage does what json.RawMessage does but for YAML.
func ToRawMessage ¶
func ToRawMessage(t *testing.T, v any) RawMessage
ToRawMessage converts an object into a model.RawMessage for testing purposes.
func (*RawMessage) UnmarshalYAML ¶
func (msg *RawMessage) UnmarshalYAML(unmarshal func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.