Displaying server data in templates
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user