petit ménage

This commit is contained in:
Laurent Ulrich
2025-07-30 20:33:58 +02:00
parent e9676f8136
commit 67700bcb42
7 changed files with 200 additions and 88 deletions

17
post.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import "html/template"
type Post struct {
Id string
Title string
Author string
Date string
HTML template.HTML
Text string
}
type Blog struct {
Title string
Posts []Post
}