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:
5
_examples/view/templ/hello.templ
Normal file
5
_examples/view/templ/hello.templ
Normal file
@@ -0,0 +1,5 @@
|
||||
package main
|
||||
|
||||
templ hello(name string) {
|
||||
<div>Hello, <strong>{ name }</strong></div>
|
||||
}
|
||||
Reference in New Issue
Block a user