Documentation
¶
Index ¶
- func AddPathSepIfNeed(path string) (newPath string)
- func CreateDirRecursive(filePath string) error
- func FileNameToJpgFileName(onlyFilename string) string
- func GetFilenameOnly(fullfilename string) string
- func IsFile(f string) (isFile bool, err error)
- func IsFileExist(f string) bool
- func IsFileNotExist(f string) bool
- func IsImage(filename string) bool
- func IsMediaFile(filename string) bool
- func IsVideo(filename string) bool
- func ReadFromFile(filename string) (error, []byte)
- func WriteToFile(filename string, content []byte, truncateIfExist bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPathSepIfNeed ¶
func FileNameToJpgFileName ¶
func GetFilenameOnly ¶
func IsFileExist ¶
func IsFileNotExist ¶
func IsMediaFile ¶
func ReadFromFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.