Skip to content

meetingFuture/gin_web_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gin_web_api

Basic on Golang gin web APIs.

I wrote a RESTFUL backend application based on this.

Structure

├─cmd # command

├─apikey # public key

├─conf # config files pkg/setting

├─controllers # controller layer

│ └─v1 # API v1

├─middleware

│ └─jwt # JWT

├─models # data model layer

├─pkg

│ ├─app # requests

│ ├─e # errors

│ ├─file # file

│ ├─logging # log

│ ├─rsa # private key file

│ ├─setting # settings & configurations

│ └─util # libs

├─routers # routers

├─runtime # runtime directory

│ └─logs # logs

├─service # server layer

│ └─v1 # APIv1

└─vo # view object

│ └─v1 # APIv1

└─dto # Data Transfer Object

│ └─v1 # APIv1

Reference

go-gin-example

go-gin-api

wayne

About

Basic on Golang gin web api.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages