1
0
mirror of https://github.com/taigrr/wasm-experiments synced 2025-01-18 04:03:21 -08:00
2018-05-13 00:32:28 +01:00

18 lines
241 B
Go

// +build js,wasm
package main
import (
"fmt"
"net/http"
"github.com/johanbrandhorst/wasm-experiments/fetch/fetch"
)
func main() {
c := http.Client{
Transport: &fetch.Transport{},
}
fmt.Println(c.Get("https://api.github.com"))
}