router

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add added in v1.0.4

func Add(a int, b int) int

func FormatAsDate added in v1.0.4

func FormatAsDate(t time.Time) string

func LoadRoutes

func LoadRoutes(router *gin.Engine)

func MultAndAdd added in v1.0.4

func MultAndAdd(page int, mult int, add int) int

func Multiply added in v1.0.4

func Multiply(a int, b int) int

func SetGlobalFuncs added in v1.0.4

func SetGlobalFuncs(router *gin.Engine)

func SetupRouter

func SetupRouter(env config.Environment, gormDebug bool, prod bool) (*gin.Engine, error)

func Subtract added in v1.0.4

func Subtract(a int, b int) int

func Test

func Test(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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