mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 14:18:12 +00:00
fixed code documentation
This commit is contained in:
@@ -10,6 +10,14 @@ import (
|
||||
"github.com/go-pg/pg/v10"
|
||||
)
|
||||
|
||||
/*
|
||||
Routes
|
||||
|
||||
Initializes web api controllers and its corresponding routes.
|
||||
Args:
|
||||
*gin.Engine: Gin Engine
|
||||
*pg.DB: Postgres database client
|
||||
*/
|
||||
func Routes(s *gin.Engine, db *pg.DB) {
|
||||
ver := s.Group(configs.Prefix)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user