Add file processing
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user