Example Fails
coreybutler opened this issue · 2 comments
coreybutler commented
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.
kuoruan commented
Hi, this modules requires go 1.16, so you should update your golang version
See embed
: https://golang.org/pkg/embed/
coreybutler commented
Got it, thanks for the quick reply!