aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-10-11 20:25:24 (UTC)
committerrtz12 <koenig@fagott.pw>2016-10-11 20:25:24 (UTC)
commitc6165a8bbcca97867205fa87456ba238beb760f9 (patch)
treec8311f1fed639ebdccd42dd7e7fd4ae82163b906
parent1018d5deb3cce8f1d2fc4863d82e51539837daca (diff)
JSON tags und so
-rw-r--r--eventlogging/types.go38
1 files changed, 19 insertions, 19 deletions
diff --git a/eventlogging/types.go b/eventlogging/types.go
index 96d0ce0..a835b26 100644
--- a/eventlogging/types.go
+++ b/eventlogging/types.go
@@ -2,51 +2,51 @@ package eventlogging
2 2
3type ViewGrilData struct { 3type ViewGrilData struct {
4 EventLoggerData 4 EventLoggerData
5 GrilID int 5 GrilID int `json:"grilId"`
6} 6}
7 7
8type ViewListData struct { 8type ViewListData struct {
9 EventLoggerData 9 EventLoggerData
10 ListID int 10 ListID int `json:"listId"`
11} 11}
12 12
13type CreateListData struct { 13type CreateListData struct {
14 EventLoggerData 14 EventLoggerData
15 ListID int 15 ListID int `json:"listId"`
16 Name string 16 Name string `json:"name"`
17 Description string 17 Description string `json:"description"`
18} 18}
19 19
20type AddGrilToListData struct { 20type AddGrilToListData struct {
21 EventLoggerData 21 EventLoggerData
22 GrilID int 22 GrilID int `json:"grilId"`
23 ListID int 23 ListID int `json:"listId"`
24} 24}
25 25
26type DeleteGrilFromListData struct { 26type DeleteGrilFromListData struct {
27 EventLoggerData 27 EventLoggerData
28 ListID int 28 ListID int `json:"listId"`
29 GrilID int 29 GrilID int `json:"grilId"`
30} 30}
31 31
32type DeleteListData struct { 32type DeleteListData struct {
33 EventLoggerData 33 EventLoggerData
34 ListID int 34 ListID int `json:"listId"`
35} 35}
36 36
37type EditListData struct { 37type EditListData struct {
38 EventLoggerData 38 EventLoggerData
39 ListID int 39 ListID int `json:"listId"`
40 OldName string 40 OldName string `json:"oldName"`
41 OldDescription string 41 OldDescription string `json:"oldDescription"`
42 NewName string 42 NewName string `json:"newName"`
43 NewDescription string 43 NewDescription string `json:"newDescription"`
44} 44}
45 45
46type ChangeGrilOrderData struct { 46type ChangeGrilOrderData struct {
47 EventLoggerData 47 EventLoggerData
48 ListID int 48 ListID int `json:"listId"`
49 GrilID int 49 GrilID int `json:"grilId"`
50 OldOrder int 50 OldOrder int `json:"oldOrder"`
51 NewOrder int 51 NewOrder int `json:"newOrder"`
52} 52}