fixed code documentation

This commit is contained in:
Fran Jurmanović
2021-08-29 10:51:29 +02:00
parent 0682252859
commit f441f46494
35 changed files with 674 additions and 70 deletions

View File

@@ -5,6 +5,14 @@ import (
"github.com/go-pg/pg/v10"
)
/*
Init
Initializes Web API Routes.
Args:
*gin.Engine: Gin Engine.
*pg.DB: Postgres Database Client.
*/
func Init(s *gin.Engine, db *pg.DB) {
Routes(s, db)
}