Use go workspace in example app (#211)
Markus Wüstenberg markus@maragu.dk
Tue, 24 Sep 2024 10:33:54 +0200
2 files changed, 8 insertions(+), 2 deletions(-)
M internal/examples/app/html/home.go → internal/examples/app/html/home.go
@@ -13,8 +13,8 @@ P(Text("This is a gomponents example app!")), P(Raw(`Have a look at the <a href="https://github.com/maragudk/gomponents/tree/main/internal/examples/app">source code</a> 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)) - }))), + })), ) }