package
1.2.6
Repository: https://github.com/clivern/walrus.git
Documentation: pkg.go.dev

# Functions

CheckPasswordHash validate password with a hash.
ClearDir removes all files and sub dirs.
ConvertToJSON convert object to json.
Decrypt decrypts data.
DeleteDir deletes a dir.
DeleteFile deletes a file.
DirExists reports whether the dir exists.
Encrypt encrypt data.
EnsureDir ensures that directory exists.
EnsureTrailingSlash ensure there is a trailing slash.
FileExists reports whether the named file exists.
FilterFiles filters files list based on specific sub-strings.
GenerateUUID4 create a UUID.
GetHostname gets the hostname.
HashPassword hashes the password.
InArray check if value is on array.
IsEmailValid checks if the email provided passes the required structure and length test.
IsEmpty validate if string is empty or not.
LoadFromJSON update object from json.
NewMap creates a new instance of Map.
PathExists reports whether the path exists.
ReadFile get the file content.
RemoveStartingSlash removes any starting slash.
RemoveTrailingSlash removes any trailing slash.
StoreFile stores a file content.
Unset remove element at position i.
ValidRelPath checks for path traversal and correct forward slashes.

# Structs

Map type.