From 442d0cdb8a7fab04d87fbe0801ce8e52bf200d84 Mon Sep 17 00:00:00 2001 From: Leon Hudak <33522493+leohhhn@users.noreply.github.com> Date: Fri, 22 Mar 2024 18:48:16 +0100 Subject: [PATCH] add comment, fixup readme (#49) --- presentations/2024-03-23--seoul-go-to-gno--leon/README.md | 7 ++++--- .../memeland/api/p/memeland/memeland.gno | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/presentations/2024-03-23--seoul-go-to-gno--leon/README.md b/presentations/2024-03-23--seoul-go-to-gno--leon/README.md index 5db2bf1..d1e8652 100644 --- a/presentations/2024-03-23--seoul-go-to-gno--leon/README.md +++ b/presentations/2024-03-23--seoul-go-to-gno--leon/README.md @@ -1,6 +1,9 @@ # Go to Gno Builder Challenge -Welcome to the Go to Gno Builder Challenge. Check out the sections below +Welcome to the **Go to Gno Builder Challenge**. +The Challenge is to write the Memeland package from scratch. + +Check out the sections below to get started. ## Installation @@ -41,8 +44,6 @@ make install.gnodev ## Start the Challenge -The Challenge is to write the Memeland package from scratch. - In the `api/p/memeland` folder you will be able to find the [template package file](./memeland/api/p/memeland/memeland.gno), as well as tests that should be passing when you are done with the Challenge. diff --git a/presentations/2024-03-23--seoul-go-to-gno--leon/memeland/api/p/memeland/memeland.gno b/presentations/2024-03-23--seoul-go-to-gno--leon/memeland/api/p/memeland/memeland.gno index c470b8b..64b45ee 100644 --- a/presentations/2024-03-23--seoul-go-to-gno--leon/memeland/api/p/memeland/memeland.gno +++ b/presentations/2024-03-23--seoul-go-to-gno--leon/memeland/api/p/memeland/memeland.gno @@ -75,6 +75,7 @@ func PostsToJSONString(posts []*Post) string { } // PostToJSONString returns a Post formatted as a JSON string +// Note: Gno currently does not support reflection, which is why JSON marshalling is unavailable func PostToJSONString(post *Post) string { var sb strings.Builder