[Go] basics and web

This commit is contained in:
2026-03-02 01:47:42 +01:00
parent c88211d161
commit d83f0833ec
11 changed files with 320 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package main
var baseTemplate =`
<html>
<head>
<title>Home</title>
<style>
p {
background-color: #f4f4f4;
border-radius: 5px;
}
</syle>
</head>
<body>
{{range .}}
<p>{{.Content}} {{.Name}}</p>
{{end}}
</body>
</html>
`