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

https://github.com/cryptogarageinc/server-common-go

Golang utils packages to build a REST/GRPC server
https://github.com/cryptogarageinc/server-common-go

Last synced: 5 months ago
JSON representation

Golang utils packages to build a REST/GRPC server

Awesome Lists containing this project

README

          

# server-common-go
This repository contains public packages to be used to build a golang server (`grpc` or `rest`).
it contains useful packages:
- `configuration` extracts configuration from `yaml` file using struct model annotation (uses [viper](https://github.com/spf13/viper))
- `log` wrapper for [logrus logger](https://github.com/sirupsen/logrus)
- `database` wrapper for [go-gorm/gorm package](https://github.com/go-gorm/gorm)
- `http` to build an http server, wrapper for [gin-gonic/gin package](https://github.com/gin-gonic/gin)
- multiple utils packages like `iso8601` duration or `crypto`

## Examples

Some `REST` and `grpc` server example are available in `api` directory.