Narven / toolkit

A simple example how to create a reusable Go module with commonly used tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toolkit

A simple example how to create a reusable Go module with commonly used tools.

The included tools are:

  • Read JSON
  • Write JSON
  • Produce a JSON encoded error response
  • Upload a file to a specified directory
  • Download a static file
  • Get a random string of length n
  • Post JSON to a remote service
  • Create a directory, including all parent directories, if it does not already exists
  • Create a URL safe slug from a string

Instalation

go get -u github.com/Narven/toolkit

About

A simple example how to create a reusable Go module with commonly used tools.

License:MIT License


Languages

Language:Go 100.0%