dennwc / dom

DOM library for Go and WASM
Apache License 2.0
486 stars 59 forks source link

compile failure with go 1.13 #48

Open torbenschinke opened 5 years ago

torbenschinke commented 5 years ago

If compiling with Go 1.13, a compiling error comes up:

github.com/dennwc/dom/js

../../../../go/pkg/mod/github.com/dennwc/dom@v0.3.0/js/bytes.go:20:2: undefined: js.TypedArray ../../../../go/pkg/mod/github.com/dennwc/dom@v0.3.0/js/bytes.go:30:7: undefined: js.TypedArrayOf

The change log (https://golang.org/doc/go1.13#syscall/js) states that the types have been changed: "TypedArrayOf has been replaced by CopyBytesToGo and CopyBytesToJS for copying bytes between a byte slice and a Uint8Array."

dennwc commented 5 years ago

Yes, the library doesn't support Go 1.13 yet.

maitredede commented 4 years ago

golang 1.14 seams worse :smile: