Versions in this module Expand all Collapse all v0 v0.1.0 Jul 20, 2023 Changes in this version + var ErrUnknownFileExtension = errors.New("unknown file extension") + type BaseIO struct + Fs afero.Fs + func (b BaseIO) ReadFile(name, ext string) ([]byte, error) + func (b BaseIO) WriteFile(name, ext string, data []byte, perm fs.FileMode) error + type IO interface + Ext func() string + ReadFile func(name string, v interface{}) error + WriteFile func(name string, v interface{}, perm fs.FileMode) error