https://github.com/molu8bits/toolkit
https://github.com/molu8bits/toolkit
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/molu8bits/toolkit
- Owner: molu8bits
- License: mit
- Created: 2022-12-09T16:13:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T20:50:35.000Z (over 3 years ago)
- Last Synced: 2024-06-21T14:44:16.030Z (almost 2 years ago)
- Language: Go
- Size: 630 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Toolkit
A simple example of how to create a reusable Go module with commonly used tools.
The included tools are:
- [X] Read JSON
- [X] Write JSON
- [X] Produce a JSON encoded error response
- [X] Upload a file to a specified directory
- [X] Download a static file
- [X] Get a random string of length n
- [X] Post JSON to a remote service
- [X] Create a directory, including all parent directories, if it does not already exist
- [X] Create a URL safe slug from a string
## Installation
`go get -u github.com/molu8bits/toolkit`