Versions in this module Expand all Collapse all v0 v0.1.0 Feb 10, 2023 Changes in this version + var ErrExtNotSupported = errors.New("extension not suppoerted") + type FileReader struct + func New() (*FileReader, error) + func (fr *FileReader) ParseFile(raw []byte, data any, ext string) error + func (fr *FileReader) ReadFile(location string, data any) error + func (fr *FileReader) ReadFileReturnRaw(location string, data any) ([]byte, error) + func (fr *FileReader) ReadIntoRawBytes(location string) ([]byte, error) + func (fr *FileReader) SaveFile(location string, data any) error