This commit is contained in:
2025-05-04 13:40:31 +02:00
parent afd8edaa6c
commit 92d272b36e
10 changed files with 293 additions and 0 deletions

14
internal/article/model.go Normal file
View File

@@ -0,0 +1,14 @@
// internal/article/model.go
package article
import (
"html/template"
"time"
)
type Article struct {
Title string
Slug string
Date time.Time
Body template.HTML // already trusted
}