Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
caixiaogua authored Sep 11, 2022
1 parent 9bbef88 commit 7f5ed6c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
1. 更丰富更强大的api接口函数。
2. 可以在html中执行go语言代码。
3. 具体请参考:https://github.com/caixiaogua/jsgo
```
//调用go语言范例:
//index.html
<script>
jsgo(function(){
let res=api.goRun(`string(ioutil.ReadFile("package.json"))`); //使用go语言读取文件内容
return res;
}).then(res=>console.log(res));
</script>
```

### melonbox-pro说明:
1. 去除了对.net framework的依赖。
Expand Down

0 comments on commit 7f5ed6c

Please sign in to comment.