dom
dom copied to clipboard
compile failure with go 1.13
If compiling with Go 1.13, a compiling error comes up:
github.com/dennwc/dom/js
../../../../go/pkg/mod/github.com/dennwc/[email protected]/js/bytes.go:20:2: undefined: js.TypedArray ../../../../go/pkg/mod/github.com/dennwc/[email protected]/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."
Yes, the library doesn't support Go 1.13 yet.
golang 1.14 seams worse :smile: