Documentation
¶
Index ¶
- func FileExists(filename string) bool
- func FileGetContents(filename string) *[]byte
- func FilePutContents(filename string, data interface{}, mode os.FileMode) *errors.AppError
- func InArray(val interface{}, arr interface{}) int
- func JsonDecode(j interface{}) *map[string]interface{}
- func JsonEncode(value interface{}) []byte
- func Mkdir(filename string, mode fs.FileMode, recursive bool) *errors.AppError
- func Strtr(str string, replace map[string]string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists php equivalent for https://www.php.net/manual/en/function.file-exists.php
func FileGetContents ¶
FileGetContents php equivalent for https://www.php.net/manual/en/function.file-get-contents.php
func FilePutContents ¶
FilePutContents php equivalent for https://www.php.net/manual/en/function.file-put-contents.php
func InArray ¶
func InArray(val interface{}, arr interface{}) int
InArray php equivalent for https://www.php.net/manual/en/function.in-array.php
func JsonDecode ¶
func JsonDecode(j interface{}) *map[string]interface{}
JsonDecode php equivalent for https://www.php.net/manual/en/function.json-decode.php
func JsonEncode ¶
func JsonEncode(value interface{}) []byte
JsonEncode php equivalent for https://www.php.net/manual/en/function.json-encode.php
func Mkdir ¶
Mkdir php equivalent https://www.php.net/manual/en/function.mkdir.php
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.