Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
  • Loading branch information
gmlewis committed Aug 20, 2024
1 parent 11d638a commit bbe9802
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ struct Sum {
sum : Int
}

pub fn to_json(self: Sum) -> Json {
{ "sum": self.sum.to_json() }
}

pub fn add() -> Int {
let input = @host.input_string()
let params = try {
Expand Down
2 changes: 1 addition & 1 deletion moon.mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gmlewis/moonbit-pdk",
"version": "0.35.0",
"version": "0.36.0",
"deps": {},
"readme": "README.md",
"repository": "https://github.com/gmlewis/moonbit-pdk",
Expand Down

0 comments on commit bbe9802

Please sign in to comment.