First release

This commit is contained in:
Hugo Mårdbrink 2025-02-12 00:09:21 +01:00
parent 7cbcab0d48
commit 0df3d16dda
15 changed files with 71 additions and 98 deletions

View file

@ -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())