From 9e1d8d0fb2b57903b1c6c0c2765b7808655c74a0 Mon Sep 17 00:00:00 2001 From: Horus_Arch Date: Tue, 24 Feb 2015 18:58:08 +0100 Subject: Struct with flash and error messages to differentiate in template. --- app/struct.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/struct.go') 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{} +} -- cgit v1.2.3