module
Version:
v0.0.0-...-8b35975
Opens a new window with list of versions in this module.
Published: Jul 18, 2021
License: MIT
Opens a new window with license information.
README
¶
Introduction
Welcome to my project
Development
Preresquites
-
Go >=1.13
-
Docker
-
Dbmate
-
Makefile
Get the project
$ git clone https://github.com/nqtinh/go-gin-project.git
Install dependencies
$ make init
- With dbmate ( Homebrew ) :
$ brew install dbmate
Environment setup
How to start
Main database setup
Develop
-
Run server main.
$ make dev
-
Run generate mock test.
$ make generate-test
-
Run test.
$ make test
-
Generate swagger.
$ make serve-swagger
Requirements:
-
- Create a new user
-
- Login user
-
- Create a new account
Directories
¶
cmd
|
|
|
|
Package classification awesome.
|
Package classification awesome. |
|
|
middlewares
|
|
|
|
|
|
|
|
pkg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
|
|
|
|
|
|
|
|
mock
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.