Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`