diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 21:52:13 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 21:52:13 +0100 |
| commit | d25e04d8c736e5ee0a4bdc2531a6047dccc81013 (patch) | |
| tree | e12332d91cdeba5ffb4a99d70e045b24afa661bf /data.go | |
| parent | a50d678a6757212f6f7fdcb0c35641fb18874872 (diff) | |
feat(data): parse json and render simple thing
Diffstat (limited to 'data.go')
| -rw-r--r-- | data.go | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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"` +} |
