Documentation
¶
Index ¶
- func AppendPutContent(filename string, data any)
- func DirExistOrCreate(dirPath string) bool
- func FileGetContents(filename string) ([]byte, error)
- func FileNameWithoutExtension(fileName string) string
- func FilePutContents(filename string, data any, isAppend ...bool) error
- func GetStoragePath(filename string) string
- func IsExist(path string) bool
- func IsExistOrCreate(path string, init string) bool
- func Put(data []byte, to string) (err error)
- func PutContent(filename string, data any)
- func SetBasePath(path string)
- func StorageGet(filename string) string
- func StoragePut(filename string, data any, append bool) error
- func UrlDecode(s string) string
- func UrlEncode(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendPutContent ¶
func DirExistOrCreate ¶
func FileGetContents ¶
func FilePutContents ¶
FilePutContents file_put_contents
func GetStoragePath ¶
func IsExistOrCreate ¶
func PutContent ¶
func SetBasePath ¶
func SetBasePath(path string)
func StorageGet ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.