Is there any possibility to use a reverse router, e.g. similiar to the Play framework? This would be helpful in order not to hardcode URLs outside the app.go.
In app.go use Name() to define a name for the route (as in mux). For example:
auth.GET("/{provider}", bah).Name("login")
buffalo will however append "Path" to it and make it available as
loginPath({key : value})
for example:
<a href="<%= loginPath({provider: "github"}) %>">login</a>