burning.moe/internal/models/templatedata.go
Lilian Jónsdóttir a7f6bb35e7 it works!
initial build that basically replicates my old HTML site
2024-01-22 20:10:14 -08:00

15 lines
297 B
Go

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
}