gin-boilerplate

command module
v0.0.0-...-fbddd3b Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: MIT Imports: 6 Imported by: 0

README

gin-boilerplate

Getting started

Create your .env file in the same location with main.go
Then add your mongo uri. For example:

MONGODB_URI=mongodb+srv://username:password@abc.mongodb.net/test?authSource=admin&replicaSet=atlas-iywr24-shard-0&w=majority&readPreference=primary&appname=MongoDB%20Compass&retryWrites=true&ssl=true

Run development

First install air for hot reload: https://github.com/cosmtrek/air
Then, run:

air

Run deployment

docker-compose -f run.yml up --build -d

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

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