Documentation
¶
Index ¶
- func BytesToString(b []byte) string
- func CreateIfNotExists(path string, isDir bool) error
- func IsExist(path string) bool
- func MakeDir(dir string) error
- func RemoveEmptyLine(s string) string
- func ReplaceSubscript(s string) string
- func ReplaceSuperscript(s string) string
- func StringToBytes(s string) []byte
- func Truncate(filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
BytesToString converts byte slice to string.
func CreateIfNotExists ¶
CreateIfNotExists creates a file or a directory only if it does not already exist.
func RemoveEmptyLine ¶
func ReplaceSubscript ¶
func ReplaceSuperscript ¶
func StringToBytes ¶
StringToBytes converts string to byte slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.