Add file processing

This commit is contained in:
2025-11-22 17:33:40 +08:00
parent 44af6acc53
commit 19ff49c917
9 changed files with 501 additions and 1 deletions

View File

@@ -27,3 +27,17 @@ type Config struct {
Prefix string `json:"prefix"`
} `json:"database"`
}
// ErrorPageData Data model for error page template
type ErrorPageData struct {
StatusCode int
Title string
Message string
}
// IndexPageData Data model for index page template
type IndexPageData struct {
StatusCode int
Title string
I18n string
}