package
1.4.9
Repository: https://github.com/j178/leetgo.git
Documentation: pkg.go.dev

# Functions

BytesToString converts byte slice to string.
No description provided by the author
CondenseEmptyLines condenses multiple consecutive empty lines in a string to a single empty line, while preserving non-empty lines.
CreateIfNotExists creates a file or a directory only if it does not already exist.
No description provided by the author
No description provided by the author
IsExist checks if a file or directory exists.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SplitLines splits a string into lines by '\n' or '\r\n'.
StringToBytes converts string to byte slice.
No description provided by the author
TruncateString shortens a string longer than n by replacing the middle part with "...<truncated>...".
No description provided by the author
No description provided by the author

# Structs

No description provided by the author