boilerplate-go

module
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2022 License: MIT

README

boilerplate-go boilerplate-go

GitHub go.mod Go version Sourcegraph Documentation codecov Go Report Card License

👀 Contract API

⚙️ Installation

Make sure you have Go installed. Version 1.14 or higher is required. Run command for configuration from Makefile

make start

⚙️ Essential Tools gRPC

⚡️ Quickstart

Rest
make run-rest
gRPC
make run-grpc

🎯 Features

  • Clean Architecture
  • Implementation circuit breaker using call wrapper, so that easy to use
  • Auto migration from schema directory
  • CORS middleware for Fiber that that can be used to enable Cross-Origin Resource Sharing with various options.
  • Limiter middleware
  • DDD (Domain Driven Design) Concept
  • Rest API using Fiber Framework
  • Graceful Handling for gRPC server
  • Best Practice Connection Pooling to Database
  • Auto migration using Dockerize
  • Example code has been implement call to OMDB API
  • Database connect loop
  • Implementation go-redis
  • Handling can be customised by providing an alternate gRCP recovery function
  • Integration of logrus logging library into gRPC handlers
  • Support development in the Apple Silicon (M1 chipset) because don't use monkey patching

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL