command
module
Version:
v0.0.0-...-c35fd87
Opens a new window with list of versions in this module.
Published: Jul 3, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Go Gin Boilerplate
A boilerplate for RESTful API with Golang, Gin and PostgresSQL

Golang Gin boilerplate with Postgres database resource. Supports multiple configuration environments.

Installation
First, you need to implement your own environment by copying .example.env
into .env
.
Then replacing with your own database's information.
cp .env.example .env
Run in your terminal:
go run main.go
Usage example
Example call:
- API url:
http://localhost:8080/api/v1/{apiEndpoint}
- Swagger UI url:
http://localhost:8080/swagger/index.html#/
Release History
-
version 0.0.1
- Configuration by environment,
- Authentication
- Entities: User, Token, Question, Score board
-
version 1.0.1
- Add document
- Implement swagger UI for endpoints's testing
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
|
|
|
|
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
|
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag |
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.