Açıklama Yok

routes.go 272B

12345678910111213141516171819
  1. package main
  2. import (
  3. "./core/router"
  4. "./src/controller/test"
  5. "./src/middleware/login"
  6. )
  7. //Routes rotas de acesso
  8. var Routes = router.Routes{
  9. router.Route{
  10. Pattern: `\/(.*)`,
  11. Handler: test.Inicial,
  12. Middlewares: []router.Middleware{
  13. login.Logged,
  14. },
  15. },
  16. }