Skip to content
/ tra Public

πŸƒ Simple and lightweight HTTP router for Go πŸƒ

License

Notifications You must be signed in to change notification settings

dundunlibs/tra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

tra πŸƒ

release ci codecov license PRs Welcome

Simple and lightweight HTTP router for Go with some basic features:

  • Routing: match any route like "static" (e.g. /api/users), "dynamic" (e.g. /users/:id) and "wildcard" (e.g. /public/*)
  • Middleware: execute any code before and after route handler (e.g. authentication, logging, ...)
  • Error handling: create, custom, return error without tears

Installation

go get -u github.com/dundunlabs/tra

Example

https://github.com/dundunlabs/tra/tree/main/example

License

MIT


Enjoy your coding 😊

About

πŸƒ Simple and lightweight HTTP router for Go πŸƒ

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages