diff options
| author | Horus_Arch | 2015-02-24 18:58:08 +0100 |
|---|---|---|
| committer | Horus_Arch | 2015-02-24 18:58:08 +0100 |
| commit | 9e1d8d0fb2b57903b1c6c0c2765b7808655c74a0 (patch) | |
| tree | a3f8546269eec6edb84fa740bc485c37542498bc /app/struct.go | |
| parent | 8763022c77f0ad8edf6578962a524715d99e8d39 (diff) | |
| download | statuspage-9e1d8d0fb2b57903b1c6c0c2765b7808655c74a0.tar.gz | |
Struct with flash and error messages to differentiate in template.
Diffstat (limited to 'app/struct.go')
| -rw-r--r-- | app/struct.go | 5 |
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{} +} |
