From 64ae2edb5a97f05f5592f58422adbc6ac089f9e8 Mon Sep 17 00:00:00 2001 From: Horus_Arch Date: Thu, 26 Feb 2015 02:40:52 +0100 Subject: Clean up. More backend code. Better UX and design. --- app/struct.go | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'app/struct.go') diff --git a/app/struct.go b/app/struct.go index 172a54d..49a201d 100644 --- a/app/struct.go +++ b/app/struct.go @@ -39,13 +39,9 @@ type User struct { UpdatedAt time.Time } -type FlashMessages struct { - Success []interface{} - Error []interface{} -} - -type Admin struct { - Success []interface{} - Error []interface{} - Hosts []Host +type Messages struct { + Success []interface{} + Error []interface{} + Hosts []Host + moreScripts []string } -- cgit v1.2.3