Adjust struct variable naming

This commit is contained in:
Bendodroid 2023-11-09 22:13:22 +01:00
parent fdb409bae6
commit 4eb1f18bf5
Signed by: bendodroid
GPG key ID: 3EEE19A0F73D5FFC

View file

@ -4,7 +4,7 @@ type SpaceAPIResponseV14 struct {
APICompatibility []string `json:"api_compatibility"` APICompatibility []string `json:"api_compatibility"`
Space string `json:"space"` Space string `json:"space"`
Logo string `json:"logo"` Logo string `json:"logo"`
ExtCcc string `json:"ext_ccc"` ExtCCC string `json:"ext_ccc"`
URL string `json:"url"` URL string `json:"url"`
Location struct { Location struct {
Address string `json:"address"` Address string `json:"address"`
@ -17,10 +17,10 @@ type SpaceAPIResponseV14 struct {
} `json:"state"` } `json:"state"`
Contact struct { Contact struct {
Phone string `json:"phone"` Phone string `json:"phone"`
Irc string `json:"irc"` IRC string `json:"irc"`
Mastodon string `json:"mastodon"` Mastodon string `json:"mastodon"`
Email string `json:"email"` Email string `json:"email"`
Ml string `json:"ml"` ML string `json:"ml"`
Matrix string `json:"matrix"` Matrix string `json:"matrix"`
} `json:"contact"` } `json:"contact"`
Feeds struct { Feeds struct {