package
1.7.6
Repository: https://github.com/skit-ai/vcore.git
Documentation: pkg.go.dev

# Functions

Handles an error by capturing it on Sentry and logging the same on STDOUT.
Handles an error by capturing it on Sentry and logging the same on STDOUT.
Closes an interface which implements io.Closer safely.
Closes a struct which implements io.Closer safely.
Concatenates a variable slice of strings.
ConvertInterfaceToString takes an interface as input and tries to assert it as a string if not nil.
Gets a slice of distince strings from a slice of strings.
DownloadFile - Download from url to a local file.
Evaluate ...
No description provided by the author
No description provided by the author
flattens a slice of []interface{} to a []string.
GetEnv - Return the fallback env if not present.
GetFile - Download file from URL, create directories/file and write to it TODO: Allow cancelable requests using contexts https://github.com/hashicorp/go-getter/issues/102.
HTTPGet - Download from url to a bytes array.
HTTPGetWithCACrt - Download from url to a bytes array using CA crt pathToCaCertFile = Mount path of the CAcrt file.
StringInSlice - Returns True when two strings have one element in common, False otherwise.
IsDeepEqual - Returns True when the two passed values are same, else False.
IsEqual - Returns True when the two passed values are same, else False.
Checks if a string slice is equal or not.
IsZeroOfUnderlyingType - Returns True when the passed value is zero.
Concatenates a slice of strings with the delimiter in question.
Concatenates a variable slice of strings.
MD5 - Generate MD5 hash for the given string.
ReadCsvFile - Read from csv file and return results as [][]string.
ReadYamlFile - Read from YAML file and return results.
Reverse - To reverse any string.
SliceInSlice - Returns True when two []string have one element in common, False otherwise.
No description provided by the author
StringInSlice - Returns True when two strings have one element in common, False otherwise.
Concatenates a slice of strings with the delimiter in question Uses the final delimiter to concatenate the final string in the slice.
StringToTimestamp - Converts a unix timestamp string to unix timestamp format.
Prints the time taken to run a function.
No description provided by the author
No description provided by the author
TrimSuffix - To trim a suffix string.
WriteToFile - Create directories/file and write to it.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author