hack-pad / go-indexeddb

An IndexedDB driver for Go code compiled to WebAssembly.
Apache License 2.0
27 stars 4 forks source link

Fix Go 1.18 compatibility, remove references to js.Wrapper #3

Closed JohnStarich closed 2 years ago

JohnStarich commented 2 years ago

Go 1.18 removed js.Wrapper, so automatic conversions of JSValue() methods no longer works.

Includes @mlctrez's great start from this PR, adds a Go 1.18 test run, and removes the old .JSValue() pattern entirely.

This is a breaking change, so slating this for v0.2.