diff --git a/doc/go1.18.html b/doc/go1.18.html index a5b47fa2618999..f4d097d06bc351 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -127,12 +127,25 @@

Minor changes to the library

+
reflect
+
+

+ The new + Value.SetIterKey + and Value.SetIterValue + methods set a Value using a map iterator as the source. They are equivalent to + Value.Set(iter.Key()) and Value.Set(iter.Value()) but + do fewer allocations. +

+
+
+
syscall

The new function SyscallN has been introduced for Windows, allowing for calls with arbitrary number - of arguments. As results, + of arguments. As a result, Syscall, Syscall6, Syscall9,