mirror of
https://github.com/onsonr/hway.git
synced 2025-03-10 13:07:09 +00:00
14 lines
271 B
Go
14 lines
271 B
Go
package landing
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/hway/x/landing/handlers"
|
|
)
|
|
|
|
func RegisterRoutes(e *echo.Echo) {
|
|
e.HTTPErrorHandler = handlers.ErrorHandler
|
|
|
|
e.GET("/", handlers.IndexHandler)
|
|
handlers.RegisterHandler(e.Group("/register"))
|
|
}
|