diff --git a/Makefile b/Makefile index e61f8f2..9fb9bcd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -EXEC=templ-tests-app +EXEC=htmx-templ-app run: diff --git a/app/data/catbreeds.go b/app/data/catbreeds.go index e141b72..78d92d6 100644 --- a/app/data/catbreeds.go +++ b/app/data/catbreeds.go @@ -1,6 +1,6 @@ package data -import "templ-tests/app/types" +import "htmx-templ/app/types" var CatBreeds []types.CatBreed = []types.CatBreed{ { diff --git a/app/handlers/about.go b/app/handlers/about.go index 94747d4..31c6745 100644 --- a/app/handlers/about.go +++ b/app/handlers/about.go @@ -1,7 +1,7 @@ package handlers import ( - "templ-tests/app/templates" + "htmx-templ/app/templates" "github.com/gofiber/fiber/v2" ) diff --git a/app/handlers/home.go b/app/handlers/home.go index 3da4575..9d94141 100644 --- a/app/handlers/home.go +++ b/app/handlers/home.go @@ -1,8 +1,8 @@ package handlers import ( - "templ-tests/app/templates" - "templ-tests/app/types" + "htmx-templ/app/templates" + "htmx-templ/app/types" "github.com/gofiber/fiber/v2" ) diff --git a/app/handlers/interactive.go b/app/handlers/interactive.go index b4fe7f5..80a77de 100644 --- a/app/handlers/interactive.go +++ b/app/handlers/interactive.go @@ -1,11 +1,11 @@ package handlers import ( + "htmx-templ/app/data" + "htmx-templ/app/templates" + "htmx-templ/app/types" "strconv" "strings" - "templ-tests/app/data" - "templ-tests/app/templates" - "templ-tests/app/types" "github.com/gofiber/fiber/v2" ) diff --git a/app/main.go b/app/main.go index 218ba30..5ac15cc 100644 --- a/app/main.go +++ b/app/main.go @@ -1,6 +1,6 @@ package main -import "templ-tests/app/router" +import "htmx-templ/app/router" func main() { router.Serve() diff --git a/app/router/router.go b/app/router/router.go index c9d9ae1..bbcf4df 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -2,8 +2,8 @@ package router import ( "fmt" + "htmx-templ/app/handlers" "strings" - "templ-tests/app/handlers" "github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2/middleware/cors" diff --git a/app/templates/interactive.templ b/app/templates/interactive.templ index 6f107b6..3709959 100644 --- a/app/templates/interactive.templ +++ b/app/templates/interactive.templ @@ -1,8 +1,8 @@ package templates import ( - "templ-tests/app/types" - "templ-tests/app/data" + "htmx-templ/app/types" + "htmx-templ/app/data" "slices" "sort" ) diff --git a/app/templates/interactive_templ.go b/app/templates/interactive_templ.go index c641b0b..ca75c6b 100644 --- a/app/templates/interactive_templ.go +++ b/app/templates/interactive_templ.go @@ -11,10 +11,10 @@ import "io" import "bytes" import ( + "htmx-templ/app/data" + "htmx-templ/app/types" "slices" "sort" - "templ-tests/app/data" - "templ-tests/app/types" ) func interactiveButtonsSection() templ.Component { diff --git a/app/templates/types.go b/app/templates/types.go index 43de0b6..9427362 100644 --- a/app/templates/types.go +++ b/app/templates/types.go @@ -1,6 +1,6 @@ package templates -import "templ-tests/app/types" +import "htmx-templ/app/types" type PageContext struct { Title string diff --git a/go.mod b/go.mod index 12c2839..690335c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module templ-tests +module htmx-templ go 1.21.6