Documentation
¶
Overview ¶
* kitFile.go File-difine * by:Leftyer * dt:2025-11-01
Index ¶
- func ClearFolder(path string) error
- func CopyFile(src, dst string) error
- func CopyFolder(src, dst string) error
- func IsFileExist(path string) bool
- func IsFolderExist(path string, isClear int) bool
- func ReadFile(filePath string) (string, error)
- func ReadJSON[T any](path string) (T, error)
- func WriteFile(filePath string, content string) error
- func WriteJSON[T any](path string, obj T) error
- type FileConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearFolder ¶ added in v0.1.6
Folder-Clear-difine by:Leftyer dt:2025-11-01
func CopyFolder ¶
Folder-Copy-difine by:Leftyer dt:2025-11-01
func IsFolderExist ¶
Folder-IsExist-difine by:Leftyer dt:2025-11-01
Types ¶
Click to show internal directories.
Click to hide internal directories.