package
1.9.1
Repository: https://github.com/forceu/gokapi.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ByteCountSI converts bytes to a human-readable format.
Check panics if err is not nil.
CheckIgnoreTimeout panics if err is not nil and not a timeout.
CreateDir creates the data folder if it does not exist.
FileExists returns true if a file exists.
FolderExists returns true if a folder exists.
GenerateRandomString returns a URL-safe, base64 encoded securely generated random string.
GetFileSize returns the file size in bytes.
IsInArray returns true if value is in array.
ReadLine reads a line from the terminal and returns it as a string.
ReadPassword reads a line without displaying input from the terminal and returns it as a string.

# Variables

ErrPathDoesNotExist is raised if the requested path does not exist.
ErrPathIsNotDir is raised if the requested path is not a directory.