package
0.1.0
Repository: https://github.com/easypmnt/checkout-api.git
Documentation: pkg.go.dev

# Functions

AmountToFloat64 converts amount lamports to float64 with given decimals.
AmountToString converts amount lamports to string with given decimals.
AmountToUint64 converts amount from float64 to uint64 with given decimals.
AnyToString converts any type to string.
Base58ToBytes converts base58 string to bytes.
Base64ToBytes converts base64 string to bytes.
BytesToBase58 converts bytes to base58 string.
BytesToBase64 converts bytes to base64 string.
DownloadFile downloads the file from the given URL and returns the bytes.
Float64ToString converts float64 to string with minimum number of decimals.
GetFileByPath returns the file bytes from the given path.
GetFileTypeByURI returns the file type of the given URI.
GetVarType returns the type of the given variable as a string.
IntAmountToFloat64 converts int64 amount lamports to float64 with given decimals.
Parse file size from string to int64.
Pointer is a helper to make a pointer to the given value.
PrettyPrint prints the given interface in a pretty format.
PrettyString returns the given interface in a pretty format.
SanitizeEmail cleans email address from dots, dashes, etc.
StructToUrlValues converts a struct to a url.Values object.
TrimRightZeros trims trailing zeros from string.
Trim string between two substrings and return the string without it and substrings.
UcFirst capitalizes first letter of a string.

# Variables

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