Rename project
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
package data
|
package data
|
||||||
|
|
||||||
import "templ-tests/app/types"
|
import "htmx-templ/app/types"
|
||||||
|
|
||||||
var CatBreeds []types.CatBreed = []types.CatBreed{
|
var CatBreeds []types.CatBreed = []types.CatBreed{
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
package handlers
|
package handlers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"templ-tests/app/templates"
|
"htmx-templ/app/templates"
|
||||||
|
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
package handlers
|
package handlers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"templ-tests/app/templates"
|
"htmx-templ/app/templates"
|
||||||
"templ-tests/app/types"
|
"htmx-templ/app/types"
|
||||||
|
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
package handlers
|
package handlers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"htmx-templ/app/data"
|
||||||
|
"htmx-templ/app/templates"
|
||||||
|
"htmx-templ/app/types"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"templ-tests/app/data"
|
|
||||||
"templ-tests/app/templates"
|
|
||||||
"templ-tests/app/types"
|
|
||||||
|
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import "templ-tests/app/router"
|
import "htmx-templ/app/router"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
router.Serve()
|
router.Serve()
|
||||||
|
|||||||
@ -2,8 +2,8 @@ package router
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"htmx-templ/app/handlers"
|
||||||
"strings"
|
"strings"
|
||||||
"templ-tests/app/handlers"
|
|
||||||
|
|
||||||
"github.com/gofiber/fiber/v2"
|
"github.com/gofiber/fiber/v2"
|
||||||
"github.com/gofiber/fiber/v2/middleware/cors"
|
"github.com/gofiber/fiber/v2/middleware/cors"
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
package templates
|
package templates
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"templ-tests/app/types"
|
"htmx-templ/app/types"
|
||||||
"templ-tests/app/data"
|
"htmx-templ/app/data"
|
||||||
"slices"
|
"slices"
|
||||||
"sort"
|
"sort"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -11,10 +11,10 @@ import "io"
|
|||||||
import "bytes"
|
import "bytes"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"htmx-templ/app/data"
|
||||||
|
"htmx-templ/app/types"
|
||||||
"slices"
|
"slices"
|
||||||
"sort"
|
"sort"
|
||||||
"templ-tests/app/data"
|
|
||||||
"templ-tests/app/types"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func interactiveButtonsSection() templ.Component {
|
func interactiveButtonsSection() templ.Component {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
package templates
|
package templates
|
||||||
|
|
||||||
import "templ-tests/app/types"
|
import "htmx-templ/app/types"
|
||||||
|
|
||||||
type PageContext struct {
|
type PageContext struct {
|
||||||
Title string
|
Title string
|
||||||
|
|||||||
Reference in New Issue
Block a user