Versions in this module Expand all Collapse all v0 v0.1.0 Nov 14, 2021 Changes in this version + var Drivers = map[string]Driver + var ErrDriverIsNotRegister = errors.New("driver is not register") + var ErrProhibitLimitGreaterThanMaxRaw = errors.New("Prohibit limit greater than maxRaw") + type DownRaws struct + func New(driverName, filename string, ...) (*DownRaws, error) + func (r *DownRaws) LoadData(ctx context.Context) error + func (r *DownRaws) WriteTo(writer io.Writer) (int64, error) + type Driver interface + NewWriter func() Writer + Suffix func() string + type Option func(r *DownRaws) + func SetFields(fields ...string) Option + func SetLimit(limit int) Option + func SetMaxRaw(maxRaw int) Option + func SetOffset(offset int) Option + type Writer interface + Write func(...interface{}) error + WriteTo func(io.Writer) (int64, error)