/go-fiber-template

A GH repository template for GoLang-Fiber-Wire(DI)

Primary LanguageGo

Go-Fiber-Template

GoLang API server that utilizes Fiber and Google's Wire DI.

How-To

In order to re-use this template, we need to perform some manual steps: (TODO: to automate some steps plus some extra codegen)

  1. Do a global find and replace of github.com/roger-king/gh-template.
    • This is needed because of how go does imports!
    • WIP: automating this step!
  2. Ensure you have docker installed!

Usage

   # run docker-compose command
   make start

   # generate wire_gen file
   make wire

   # production build
   make build

Docs: