dom icon indicating copy to clipboard operation
dom copied to clipboard

compile failure with go 1.13

Open torbenschinke opened this issue 5 years ago • 2 comments

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."

torbenschinke avatar Sep 13 '19 12:09 torbenschinke

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

dennwc avatar Sep 13 '19 12:09 dennwc

golang 1.14 seams worse :smile:

maitredede avatar Mar 03 '20 06:03 maitredede