Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kcalixto/go-module
📕 udemy course: udemy.com/course/building-a-module-in-go-golang
https://github.com/kcalixto/go-module
Last synced: 14 days ago
JSON representation
📕 udemy course: udemy.com/course/building-a-module-in-go-golang
- Host: GitHub
- URL: https://github.com/kcalixto/go-module
- Owner: kcalixto
- License: mit
- Created: 2023-06-26T01:00:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-08T23:26:18.000Z (over 1 year ago)
- Last Synced: 2024-11-05T23:18:14.503Z (2 months ago)
- Language: Go
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
README
# go-module
## 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/kcalixto/go-module`