From f46749837a6f78745e0d911bb3b646f25bfbc9b2 Mon Sep 17 00:00:00 2001 From: maddalax Date: Fri, 13 Sep 2024 12:24:12 -0500 Subject: [PATCH] undo test --- framework/h/tag.go | 2 +- starter-template/go.mod | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/framework/h/tag.go b/framework/h/tag.go index 2cf6289..9c0696b 100644 --- a/framework/h/tag.go +++ b/framework/h/tag.go @@ -364,7 +364,7 @@ func Indicator(tag string) Renderable { return Attribute("hx-indicator", tag) } -func P(text string, children ...Renderable) Renderable { +func P(children ...Renderable) Renderable { return Tag("p", children...) } diff --git a/starter-template/go.mod b/starter-template/go.mod index fcde4be..9b3a78c 100644 --- a/starter-template/go.mod +++ b/starter-template/go.mod @@ -8,13 +8,12 @@ require ( github.com/redis/go-redis/v9 v9.6.1 ) - require ( github.com/andybalholm/brotli v1.0.5 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/klauspost/compress v1.17.0 // indirect - github.com/maddalax/mhtml/framework v0.0.0-20240913171301-3ef5039befe2 // indirect + github.com/maddalax/mhtml/framework v0.0.0-20240913172309-3d7c04cd324b // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.15 // indirect