Versions in this module Expand all Collapse all v1 v1.0.2 May 30, 2023 Changes in this version + type Column struct + GeneralConstraint *faker.GeneralConstraint + Label string + NumericConstraint *faker.NumericConstraint + Order *int + Source string + StringConstraint *faker.StringConstraint + TimestampConstraint *faker.TimestampConstraint + func (c *Column) Validate() error + type File struct + Delimiter rune + Headers []Column + RecordCount int + Rows []Row + func New(headers []Column, rowCount int, delimiter rune) *File + func (ef *File) AddRowAtIndex(i int) error + func (ef *File) Corrupt(chance float64) error + func (f *File) AddRow() + func (f *File) Write(filename string) error + type Headers []Column + func (h Headers) Sort() Headers + func (h Headers) Validate() error + type Row struct + Values map[string]string + func NewRow(headers []Column) Row + func (r *Row) ToStringSlice(headers []Column) []string