In Django it is easy to import all Urls from one app into main App i.e
I want to do something similar with echo to make it truly robust and re-use my web packages easily. Given a package that already has routes, i want to be able to import those routes easily.
I already can import handlers but it is not very efficient and is very similar to importing Django views.
url(r'^$', views.index, name='index'),
e.GET("/", myauth.Index).Name = "IndexUrl"
I am advocating for something similar to
Echo#Group(prefix string, m ...Middleware) *Group
Echo#GroupRoutes(prefix string, Echo#Routes() *Route)
Should this be implemented as middleware? or stand-alone Echo function?
Please enlighten me on how to proceed with this.