refactor
parent
e56a2c5a85
commit
21208d42ac
|
@ -24,7 +24,7 @@ func multiply(b *wasm.Bridge, a int) (int, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
b, err := wasm.BridgeFromFile("test", "./examples/wasm/main.wasm", nil)
|
b, err := wasm.BridgeFromFile("test", "./examples/function-wasm/main.wasm", nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
Binary file not shown.
|
@ -8,7 +8,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
b, err := wasm.BridgeFromFile("test", "./examples/http/main.wasm", nil)
|
b, err := wasm.BridgeFromFile("test", "./examples/http-wasm/main.wasm", nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue