Categorygithub.com/clicworth-com/gotoolkit/v3
modulepackage
3.4.3
Repository: https://github.com/clicworth-com/gotoolkit.git
Documentation: pkg.go.dev

# README

GoToolkit

A simple example of 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 exist
  • Create a URL safe slug from a string

Installation

go get -u github.com/clicworth-com/gotoolkit

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Tools is the type to instantitate this module.
UploadedFile is a struct used to save information about an uploaded file.