kuoruan/v8go-polyfills

Example Fails

coreybutler opened this issue · 2 comments

None of these polyfills currently work. Running the example (i.e. go run test.go) with the code from the README fails with:

/go/pkg/mod/go.kuoruan.net/v8go-polyfills@v0.3.2/internal/version.go:26:2: package embed is not in GOROOT (/usr/local/go/src/embed)

It looks like the module is expecting a build-time version number.

Hi, this modules requires go 1.16, so you should update your golang version

See embed: https://golang.org/pkg/embed/

Got it, thanks for the quick reply!