Documentation ¶
Index ¶
- Constants
- Variables
- func Cmd(deps Deps) *Z.Cmd
- func DoFormat(m *Methods, deps Deps, format Format) error
- func ReadCsvFile(r io.Reader, d *Data) error
- func ReadCsvPath(deps Deps, pth string, d *Data) error
- type Action
- type Builder
- type Col
- type Config
- type Data
- type Deps
- type DictLogger
- type Format
- type Methods
- type Model
- type Record
- type Records
Constants ¶
View Source
const DictLoggerID deps.ID = "deps.log.dict"
Variables ¶
View Source
var ( Fields = makeFields() Schema = arrow.NewSchema(Fields[:], nil) ColToStr = map[Col]string{ Word: "word", Pronunciation: "pronunciation", Translation: "translation", } )
Functions ¶
Types ¶
type Builder ¶
type Builder struct { Builder *array.RecordBuilder Strings [ColMax]*array.StringBuilder }
func NewBuilder ¶
type DictLogger ¶
func (DictLogger) DepID ¶
func (DictLogger) DepID() deps.ID
type Methods ¶
type Methods struct { ReadCsvImpl func(*Methods, io.Reader) (Data, error) SelectImpl func(*Methods, Data) (Record, error) NewBuilderImpl func(*Methods) Builder // contains filtered or unexported fields }
func NewMethods ¶
func (*Methods) NewBuilder ¶
Click to show internal directories.
Click to hide internal directories.