aboutsummaryrefslogtreecommitdiff
path: root/data.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-09 21:52:13 +0100
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-09 21:52:13 +0100
commitd25e04d8c736e5ee0a4bdc2531a6047dccc81013 (patch)
treee12332d91cdeba5ffb4a99d70e045b24afa661bf /data.go
parenta50d678a6757212f6f7fdcb0c35641fb18874872 (diff)
feat(data): parse json and render simple thing
Diffstat (limited to 'data.go')
-rw-r--r--data.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/data.go b/data.go
new file mode 100644
index 0000000..e1cbf37
--- /dev/null
+++ b/data.go
@@ -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"`
+}