Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Lewis <[email protected]>
  • Loading branch information
gmlewis committed Aug 20, 2024
1 parent 5316ad5 commit 155a6d6
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": "extism/moonbit-pdk",
"version": "0.35.0",
"version": "0.36.0",
"deps": {},
"readme": "README.md",
"repository": "https://github.com/extism/moonbit-pdk",
Expand Down

0 comments on commit 155a6d6

Please sign in to comment.