diff --git a/internal/examples/app/go.work b/internal/examples/app/go.work new file mode 100644 index 0000000..5d58b63 --- /dev/null +++ b/internal/examples/app/go.work @@ -0,0 +1,6 @@ +go 1.23.1 + +use ( + . + ../../../ +) diff --git a/internal/examples/app/html/home.go b/internal/examples/app/html/home.go index d4e192c..a3d729b 100644 --- a/internal/examples/app/html/home.go +++ b/internal/examples/app/html/home.go @@ -13,8 +13,8 @@ func HomePage(items []string) Node { P(Raw(`Have a look at the source code to see how it’s structured.`)), - Ul(Group(Map(items, func(s string) Node { + Ul(Map(items, func(s string) Node { return Li(Text(s)) - }))), + })), ) }