Documentation
¶
Index ¶
- func DirExistOrCreate(dirPath string) error
- func FileGetContents(filename string) ([]byte, error)
- func FilePutContents[DType string | []byte](filename string, data DType, isAppend ...bool) error
- func GetContents(filename string) ([]byte, error)
- func IsExist(path string) bool
- func IsExistOrCreate[T string | []byte](path string, init ...T) error
- func PutContents[DType string | []byte](filename string, data DType, isAppend ...bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirExistOrCreate ¶
func FileGetContents ¶
func FilePutContents ¶
FilePutContents file_put_contents
func GetContents ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.