summaryrefslogtreecommitdiffstats
path: root/cmd/web/templates.go
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-02-11 21:19:09 +0000
committerMatthew Lemon <y@yulqen.org>2024-02-11 21:19:09 +0000
commit7d131bea17205c314387700787286365cbd98d5a (patch)
tree996498d649b5e1f826aecee7d27253b96cb72b4d /cmd/web/templates.go
parent47c2880467d1906c9a40746da4bf7c212634db79 (diff)
wip: Cannot get the dynamic data to show up in template
Diffstat (limited to 'cmd/web/templates.go')
-rw-r--r--cmd/web/templates.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/web/templates.go b/cmd/web/templates.go
new file mode 100644
index 0000000..86e136d
--- /dev/null
+++ b/cmd/web/templates.go
@@ -0,0 +1,7 @@
+package main
+
+import "github.com/yulqen/ded-go-core/internal/models"
+
+type operationsTemplateData struct {
+ Operations []models.Operation
+}