feat(data): parse json and render simple thing

This commit is contained in:
Anhgelus Morhtuuzh 2024-11-09 21:52:13 +01:00
parent a50d678a67
commit d25e04d8c7
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5
7 changed files with 62 additions and 17 deletions

13
data.go Normal file
View file

@ -0,0 +1,13 @@
package main
type Data struct {
Image string `json:"image"`
Description string `json:"description"`
Person *Person `json:"person"`
}
type Person struct {
Name string `json:"name"`
Pronouns string `json:"pronouns"`
Image string `json:"image"`
}