gojs: drops HTTP support to be compatible with Go 1.21 (#1557)

Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
Crypt Keeper
2023-07-05 16:56:18 +08:00
committed by GitHub
parent c2ee2242f6
commit 7498ad335f
40 changed files with 303 additions and 636 deletions

View File

@@ -1,5 +1,5 @@
// Package fstest defines filesystem test cases that help validate host
// functions implementing WASI and `GOARCH=wasm GOOS=js`. Tests are defined
// functions implementing WASI and `GOOS=js GOARCH=wasm`. Tests are defined
// here to reduce duplication and drift.
//
// Here's an example using this inside code that compiles to wasm.
@@ -15,7 +15,7 @@
// for example, gojs, sysfs or wasi_snapshot_preview1.
//
// This package must have no dependencies. Otherwise, compiling this with
// TinyGo or `GOARCH=wasm GOOS=js` can become bloated or complicated.
// TinyGo or `GOOS=js GOARCH=wasm` can become bloated or complicated.
package fstest
import (