package
1.0.1
Repository: https://github.com/j3ssie/goverview.git
Documentation: pkg.go.dev

# Functions

AppendToContent append string to a file.
BadBlockF print info message.
BannerF print info message.
BlockF print info message.
CalcTimeout calculate timeout.
DebugF print debug message.
EmptyDir check if directory is empty or not.
EmptyFile check if file is empty or not.
ErrorF print good message.
FileExists check if file is exist or not.
FolderExists check if file is exist or not.
GenHash gen SHA1 hash from string.
GetCurrentDay get current day.
GetDomain get domain from the URL.
GetFileContent Reading file and return content of it.
GetFileSize get file size of a file in GB.
GetOSEnv get environment variable.
GetTS get current timestamp and return a string.
GoodF print good message.
InforF print info message.
InitLog init log.
MakeDir just make a folder.
NormalizePath the path.
PrintLine print seperate line.
RandomString return a random string with length.
ReadingFileUnique Reading file and return content as []string.
ReadingLines Reading file and return content as []string.
RunCmdWithOutput just run os command.
RunOSCommand just run os command.
StrToInt string to int.
WarningF print good message.
WriteToFile write string to a file.