Documentation ¶
Index ¶
- Variables
- func ClearFolder(folderPath string) bool
- func CopyFile(src, dst string) (int64, error)
- func CopyFileWithConfirm(src, dst string) (bool, error)
- func CopyFolder(src, dst string, addForce bool) (bool, error)
- func CurrentTime() string
- func DeleteFile(filePath string) bool
- func DeleteFolder(folderPath string) bool
- func GUID() string
- func GetImageType(base64Image string) (string, error)
- func GetMd5String(s string) string
- func InitLogger()
- func MakeFolder(sPath string) (bool, error)
- func MakePath(sPath string) (string, error)
- func MakeSoftLink4Folder(srcFolder, linkFolder string) (bool, error)
- func MoveFile(src, dst string) (int64, error)
- func PathIsDir(filePath string) bool
- func PathIsExist(filePath string) bool
- func PathIsFile(filePath string) bool
- func PathIsImage(filePath string) bool
- func PathIsMarkdown(filePath string) bool
- func ReadImageAsBase64(imagePath string) (string, error)
- func SaveBase64AsImage(imageContent, targetPath string) (bool, error)
- func Try2FindSpFile(siteFolderPath string) (string, error)
- func UserConfirm(msg string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *log.Logger
Functions ¶
func ClearFolder ¶
func CopyFileWithConfirm ¶
func CurrentTime ¶
func CurrentTime() string
func DeleteFile ¶
func DeleteFolder ¶
func GetImageType ¶
func GetMd5String ¶
func InitLogger ¶
func InitLogger()
func MakeFolder ¶
func MakeSoftLink4Folder ¶
func PathIsExist ¶
func PathIsFile ¶
func PathIsImage ¶
func PathIsMarkdown ¶
func ReadImageAsBase64 ¶
func SaveBase64AsImage ¶
func Try2FindSpFile ¶
func UserConfirm ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.