This libary is free of use, and is a helpful list of functions I have used over and over in code.
To use the tool add toolkit "github.com/David-Billingsley/Go_ToolKit" to your code base
And in your function put var tools toolkit.Tools
This function takes an input ( whole number ), and outputs a random alpha numeric string ( abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 ) for the user to use
This function takes a string representation of JSON and removes unneeded info from the string. It takes to parameters one is the JSON string and the other is what you want removed. This returns the JSON as a string. This lets the user get the inner part of the JSON for the returned result form some API calls. Example: items:{[
This function takes a string type int64 number and returns time. This is used to help where you have an Epoc time value and need to see its time in the traditional date format. If you enter type of micro it does micro epoc time and milli does milli epoc time.
This function takes a string representation of a date and converts it into a proper date format.
This function takes a URL and filename. It will download the file form the URL and save it with the filename provided.
This function takes a filename. It gets the path of the bundled exe file, and returns the path with the filename attached.
This function takes a filepath, and will create it if it does not exist.
This function takes a filepath, and will delete it
This function takes a Originating file path, and destination path. It will move the files to this new path.
This function takes a full filepath and generates a blank file.
This function takes a string and outputs a string. It creates a string with " - " so that you can use the string in the URLs