Documentation ¶
Index ¶
- func CreatePathIfNotExist(filePath string) error
- func GetRootPath() string
- func InitService()
- func OpenFile(filePath string, flag int, perm os.FileMode) (*os.File, error)
- func PathExist(filePath string) (bool, error)
- func ReadFile(filePath string) ([]byte, error)
- func WriteFile(filePath string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePathIfNotExist ¶
func GetRootPath ¶
func GetRootPath() string
func InitService ¶
func InitService()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.