Skip to content

Go-lang with Gin framework, Google Wire for dependency injection, GORM, Viper

License

Notifications You must be signed in to change notification settings

susilnem/golang-wire

Repository files navigation

Golang Wire

This repository contains an sample project using Google Wire for dependency injection in Go.

Getting Started

These instructions will help you set up and run the project on your local machine.

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/susilnem/golang-wire.git
    cd golang-wire
  2. Create env file and update the database

    cp .env.sample .env
  3. Setup

     $ docker-compose build
     $ docker-compose up
    

Setup Environment

DB_HOST=db
DB_NAME=postgres
DB_USER=postgres
DB_PORT=5432
DB_PASSWORD=postgres

About

Go-lang with Gin framework, Google Wire for dependency injection, GORM, Viper

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published