Displaying server data in templates

This commit is contained in:
Beto
2024-02-26 21:00:14 -06:00
parent 6144cef1a2
commit 4709c1df35
2 changed files with 20 additions and 2 deletions

View File

@@ -10,6 +10,12 @@
<title>Document</title>
</head>
<body>
<h1>Hello-Bootstrap</h1>
<h1>Hello-Bootstrap</h1>
{{ range .Films }}
<p>{{ .Title }} - {{ .Director }}</p>
{{ end }}
</body>
</html>