Versions in this module Expand all Collapse all v1 v1.18.1 Aug 15, 2022 Changes in this version + var ErrSyntax = &errorString — js/wasm + func ArrayOf(count int, elem Type) Type — js/wasm + func ChanOf(dir ChanDir, t Type) Type — js/wasm + func Copy(dst, src Value) int — js/wasm + func DeepEqual(a1, a2 interface{}) bool — js/wasm + func FuncOf(in, out []Type, variadic bool) Type — js/wasm + func MapOf(key, elem Type) Type — js/wasm + func PtrTo(t Type) Type — js/wasm + func SliceOf(t Type) Type — js/wasm + func Swapper(slice interface{}) func(i, j int) — js/wasm + func TypeOf(i interface{}) Type — js/wasm + type ChanDir int — js/wasm + const BothDir + const RecvDir + const SendDir + type Method struct — js/wasm + Func Value + Index int + Name string + PkgPath string + Type Type + type SelectDir int — js/wasm + const SelectDefault + const SelectRecv + const SelectSend + type StructTag string — js/wasm + type TypeEx interface — js/wasm + Key func() Type