diff options
Diffstat (limited to 'cmd/web/templates.go')
-rw-r--r-- | cmd/web/templates.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/web/templates.go b/cmd/web/templates.go index 2457053..8cfa424 100644 --- a/cmd/web/templates.go +++ b/cmd/web/templates.go @@ -7,8 +7,11 @@ import ( "github.com/yulqen/ded-go-core/internal/models" ) +// TODO: At the moment we are using a struct will have fields for all the data +// we will need. Not sure whether this is good or bad at the moment. type templateData struct { - Operations []models.Operation + Operations []models.Operation + Organisations []models.Organisation } func newTemplateCache() (map[string]*template.Template, error) { |