Hi Jihoon,
On Wednesday, July 31, 2019 at 5:58:54 AM UTC+2, Jihoon Chung wrote:
>
>
> Changing doFetch() call in goFetch to "go doFetch()" should work.
>
You're right, this actually fixes the crashes. Thank you so much!
Patrick
--
You received this message because you are subscribed to the Go
Hi!
When compiled to wasm, the following small application involving the
net/http client completely crashes the Go runtime:
// +build js,wasm
package main
import (
"fmt"
"net/http"
"syscall/js"
)
func doFetch() {
res, err := http.Get("http://localhost:8181";)