package
0.0.66
Repository: https://github.com/forbearing/golib.git
Documentation: pkg.go.dev

# Functions

BytesToString converts byte slice to string without a memory allocation.
CharSpliter is the custom split function for bufio.Scanner.
CheckErr just check error and print it.
CombineError combine error from fns.
Contains check T in slice.
Depointer will return a T with given value.
Deref returns the value pointed to by the pointer.
DerefOr returns the value pointed to by the pointer.
FileExists check file exists.
No description provided by the author
HandleErr will call os.Exit() when any error encountered.
No description provided by the author
NoError call fn and always return nil.
No description provided by the author
Ping work like command `ping`.
Pointer will return a pointer to T with given value.
No description provided by the author
Round returns a rounded version of x with a specified precision.
RunOrDie will panic when error encountered.
No description provided by the author
SplitByDoublePipe is the custom split function for bufio.Scanner.
StringAny format anything to string.
StringToBytes convers string to byte slice without a memory allocation.
_tcping work like command `tcping`.
No description provided by the author
ValueOf returns a pointer to the given value.