api

package
v0.0.0-...-2c0f4b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRouter

func GetRouter(conf *config.Config, db *sqlx.DB, usecases models.UserUseCase) *gin.Engine

GetRouter - returns router

func RegisterRoutes

func RegisterRoutes(router *gin.Engine, conf *config.Config, db *sqlx.DB, usecases models.UserUseCase, testing bool)

RegisterRoutes setups routes

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL