Documentation ¶
Index ¶
- func NewEquipCatDecoder(path string) (data.EquipCatDecoder, error)
- func NewOwnerDecoder(remoteOwnersPath, customOwnersPath string) (data.OwnerDecoder, error)
- func NewSizeDecoder(path string) (data.LengthDecoder, data.HeightWidthDecoder, error)
- func NewTimestampUpdater(path string) (data.TimestampUpdater, error)
- func NewTypeDecoder(path string) (data.TypeDecoder, error)
- func WriteOwnersCSV(newOwners []cont.Owner, out io.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEquipCatDecoder ¶
func NewEquipCatDecoder(path string) (data.EquipCatDecoder, error)
NewEquipCatDecoder writes equipment category ID file to path if it not exists and returns a struct that uses this file as a data source.
func NewOwnerDecoder ¶
func NewOwnerDecoder(remoteOwnersPath, customOwnersPath string) (data.OwnerDecoder, error)
NewOwnerDecoder writes owner file to path if it not exists and returns a struct that uses this file as a data source.
func NewSizeDecoder ¶
func NewSizeDecoder(path string) (data.LengthDecoder, data.HeightWidthDecoder, error)
NewSizeDecoder writes last update lengths, height and width file to path if it not exists and returns a struct that uses this file as a data source.
func NewTimestampUpdater ¶
func NewTimestampUpdater(path string) (data.TimestampUpdater, error)
NewTimestampUpdater writes last update file to path if it not exists and returns a struct that uses this file as a data source.
func NewTypeDecoder ¶
func NewTypeDecoder(path string) (data.TypeDecoder, error)
NewTypeDecoder writes type and group file to path if it not exists and returns a struct that uses this file as a data source.
Types ¶
This section is empty.