https://github.com/fanweixiao/yomo-wasi-sfn-demo
https://github.com/fanweixiao/yomo-wasi-sfn-demo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fanweixiao/yomo-wasi-sfn-demo
- Owner: fanweixiao
- License: mit
- Created: 2023-04-13T17:46:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-16T14:47:49.000Z (about 2 years ago)
- Last Synced: 2025-02-14T13:47:26.468Z (4 months ago)
- Language: Go
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yomo-wasi-sfn-demo
This demo shows:
- Implement a [YoMo](https://github.com/yomorun/yomo) Stream Serverless Function in Go.
- Compiled to WebAssembly by [tinygo](https://tinygo.org/docs/guides/webassembly/) with `--target=wasi`.
- parse JSON while [tinygo's limited support for reflection](https://wazero.io/languages/tinygo/#unsupported-standard-libraries).```bash
# Install YoMo
$ curl -fsSL https://get.yomo.run | sh# Build
$ yomo build --target wasm app.go# Test Run
$ yomo dev sfn.wasm
```