Categorygithub.com/gouef/router
modulepackage
1.2.4
Repository: https://github.com/gouef/router.git
Documentation: pkg.go.dev

# README

Router

Router for go (extending gin)

GoDoc GitHub stars Go Report Card codecov

Versions

Stable Version GitHub Release GitHub Release

Contributors

JanGalek actions-user

# Packages

No description provided by the author
No description provided by the author

# Functions

CreateRoute add generic route to router.
CreateRouteList create RouteList.
EnableDebug set Mode debug for gin.
EnableRelease set Mode release for gin.
EnableTest set Mode test for gin.
GenerateUrlByPattern generate url by pattern.
GetMode return gin Mode.
IsDebug if gin Mode is debug.
IsRelease if gin Mode is release.
IsTest if gin Mode is test.
No description provided by the author
NewRoute create Route.
NewRouteList create RouteList with empty pattern.
NewRouter create new Router.
SetMode set Mode for gin.

# Constants

No description provided by the author
DebugMode indicates Mode is debug.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Post
No description provided by the author
No description provided by the author
ReleaseMode indicates Mode is release.
TestMode indicates Mode is test.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author