Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCompressedFile ¶
IsCompressedFile does the file is exist and is valid compressed file
func IsDirExist ¶
IsDirExist does the directory is existed in this path
func IsFileExist ¶
IsFileExist does the file is existed in this path
func ReadFileToBase64 ¶
ReadFileToBase64 read a file and trans the context to base64
func ReadFileToBytes ¶
ReadFileToBytes read a file and trans the context to bytes
Types ¶
type FakeFile ¶
type FakeFile struct{}
FakeFile for unit test
Click to show internal directories.
Click to hide internal directories.