Versions in this module Expand all Collapse all v0 v0.1.0 Jul 29, 2023 Changes in this version + func IsCompressedFile(path string) bool + func IsDirExist(path string) bool + func IsFileExist(path string) bool + func ReadFileToBase64(path string) string + func ReadFileToBytes(path string) []byte + type FakeFile struct + func (f FakeFile) Close() error + func (f FakeFile) Read(_ []byte) (int, error) + func (f FakeFile) ReadAt(_ []byte, _ int64) (int, error) + func (f FakeFile) Seek(_ int64, _ int) (int64, error) + type FakeFileInfo struct + func (f FakeFileInfo) IsDir() bool + func (f FakeFileInfo) ModTime() time.Time + func (f FakeFileInfo) Mode() fs.FileMode + func (f FakeFileInfo) Name() string + func (f FakeFileInfo) Size() int64 + func (f FakeFileInfo) Sys() interface{}