-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.go
26 lines (24 loc) · 849 Bytes
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package main
// D3ResultSet mirrors the response from the dnddeutsch.de API
type D3ResultSet struct {
O string `json:"o"`
V float64 `json:"v"`
Monster []Monster `json:"monster"`
}
// monster mirrors the response from the dnddeutsch.de API
type Monster struct {
NameDE string `json:"name_de"`
NameDEUlisses string `json:"name_de_ulisses"`
NameEN string `json:"name_en"`
PageDE string `json:"page_de"`
PageEN string `json:"page_en"`
Src []string `json:"src"`
SrdName string `json:"srdname"`
Size string `json:"size"`
Type string `json:"type"`
Tags string `json:"tags"`
Alignment string `json:"alignment"`
Cr string `json:"cr"`
Xp string `json:"xp"`
SingleLine string `json:"singleline"`
}