golibrary
This repository contains set of general purpose go packages "mainly" dedicated to json APIs.
Installation
Run go get -u github.com/BentCoder/golibrary command to install the packages or use
go get -u github.com/BentCoder/golibrary@{commit_hash} to install specific version.
Packages
database
This package is responsible for handling database operations.
generic
This generic is responsible for hosting application common generic packages.
logger
This package is responsible for setting up the application logger globally.
middleware
This package is responsible for server and router level middleware chaining.
request
This package is responsible for handling request related features.
response
This package is responsible for handling json responses.
test
This package is responsible for providing common features for test environments.
validator
This package is responsible for validating inputs.