https://github.com/ahmettugur/toolkit
https://github.com/ahmettugur/toolkit
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ahmettugur/toolkit
- Owner: ahmettugur
- License: mit
- Created: 2023-02-19T08:11:14.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-21T15:46:53.000Z (over 2 years ago)
- Last Synced: 2025-01-11T08:18:24.175Z (9 months ago)
- Language: Go
- Size: 628 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.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/ahmettugur/toolkit`