19 lines
304 B
Go
19 lines
304 B
Go
package routes
|
|
|
|
import (
|
|
"atom/contracts"
|
|
"atom/providers/http"
|
|
)
|
|
|
|
type Route struct {
|
|
svc *http.Service
|
|
}
|
|
|
|
func NewRoute(svc *http.Service) contracts.Route {
|
|
return &Route{svc: svc}
|
|
}
|
|
|
|
func (r *Route) Register() {
|
|
// r.svc.Engine.Static("/resources/form-generator", "./resources/form-generator")
|
|
}
|