1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-24 20:35:59 +00:00

Add example of the powerful 'templ' generated templates

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-12-13 02:18:16 +02:00
parent 7ffe4010b9
commit 9279ca5a27
9 changed files with 359 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
package main
templ hello(name string) {
<div>Hello, <strong>{ name }</strong></div>
}