First release
This commit is contained in:
parent
7cbcab0d48
commit
0df3d16dda
15 changed files with 71 additions and 98 deletions
|
|
@ -1,7 +1,6 @@
|
|||
package handlers
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"net/http"
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
|
|
@ -9,7 +8,7 @@ import (
|
|||
"hugo.mardbrink.se/internal/models"
|
||||
)
|
||||
|
||||
func RegisterRoutes(e *echo.Echo, db *sql.DB) {
|
||||
func RegisterRoutes(e *echo.Echo,) {
|
||||
e.GET("/", homePageHandler())
|
||||
e.GET("/projects", projectsPageHandler())
|
||||
e.GET("/articles", articlesPageHandler())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue