提交 e6a41eaf 编写于 作者: chai2010's avatar chai2010

更新 readme

上级 d00031e8
...@@ -122,8 +122,7 @@ import ( ...@@ -122,8 +122,7 @@ import (
) )
func main() { func main() {
# TODO: fix example output, err := api.RunCode(api.DefaultConfig(), "hello.wa", code)
output, err := api.RunCode("hello.wa", "fn main() { println(40+2) }")
fmt.Print(string(output), err) fmt.Print(string(output), err)
} }
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册