file

package
v0.0.0-...-193b4b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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.

func WriteOwnersCSV

func WriteOwnersCSV(newOwners []cont.Owner, out io.Writer) error

WriteOwnersCSV accepts a slice of owners and writes CSV to out.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL