summaryrefslogtreecommitdiff
path: root/app/struct.go
diff options
context:
space:
mode:
authorHorus_Arch2015-02-24 18:58:08 +0100
committerHorus_Arch2015-02-24 18:58:08 +0100
commit9e1d8d0fb2b57903b1c6c0c2765b7808655c74a0 (patch)
treea3f8546269eec6edb84fa740bc485c37542498bc /app/struct.go
parent8763022c77f0ad8edf6578962a524715d99e8d39 (diff)
downloadstatuspage-9e1d8d0fb2b57903b1c6c0c2765b7808655c74a0.tar.gz
Struct with flash and error messages to differentiate in template.
Diffstat (limited to 'app/struct.go')
-rw-r--r--app/struct.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/struct.go b/app/struct.go
index 37704d7..73e1dc7 100644
--- a/app/struct.go
+++ b/app/struct.go
@@ -36,3 +36,8 @@ type User struct {
DeletedAt time.Time
UpdatedAt time.Time
}
+
+type FlashMessages struct {
+ Success []interface{}
+ Error []interface{}
+}