From 8fd53db4cf536ff8f425afc7902cd44b5ca98663 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 13 Dec 2018 18:22:53 +0000 Subject: [PATCH] doc/go1.12: add note about CL 153559's syscall/js.Callback rename Updates #28711 Change-Id: I03139a394fdf0540db07d6d1e38b3fa223b06d58 Reviewed-on: https://go-review.googlesource.com/c/154059 Reviewed-by: Ian Lance Taylor --- doc/go1.12.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/go1.12.html b/doc/go1.12.html index d2fa217e59..817c1366ac 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -617,6 +617,18 @@ for {
syscall/js
+

+

+ The Callback type and NewCallback function have been renamed; + they are now called + Func and + FuncOf, respectively. + This is a breaking change, but WebAssembly support is still experimental + and not yet subject to the + Go 1 compatibility promise. Any code using the + old name will need to be updated. +

+

TODO: https://golang.org/cl/141644: add Wrapper interface to support external Value wrapper types

-- 2.48.1