Skip to content

Wrapper in top Gorilla Mux to improve the API, inspired by Laravel Frameworks

License

Notifications You must be signed in to change notification settings

martin3zra/router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Router

Wrapper in top of Gorilla Tool Kit inspired in Laravel Framework.

  • Easy to write and read
  • Route prefix
  • Route group
  • Middleware group

Install

You might as well just copy the router.go file into your own project (and the router_test.go while you're at it for future generations) rather than adding a dependency.

But it is maintained as a Go module which you can get with:

go get github.com/martin3zra/router

Usage

Import it:

import (
	"github.com/martin3zra/router"
)

The package will show you a clean way and guide you through the necessary steps to set up your routes.

router

About

Wrapper in top Gorilla Mux to improve the API, inspired by Laravel Frameworks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages