Refactoring to use internal packages

This commit is contained in:
Muyao CHEN
2024-06-30 16:41:46 +02:00
parent eca62e2e7b
commit 7294254e13
6 changed files with 10 additions and 10 deletions

View File

@ -0,0 +1,13 @@
package models
// TemplateData holds data sent from handlers to templates
type TemplateData struct {
StringMap map[string]string
IntMap map[string]int
FloatMap map[string]float32
Data map[string]interface{}
CSRFToken string
Flash string
Warning string
Error string
}