gopherjs:replace
(dir ChanDir, t Type)
| 185 | |
| 186 | //gopherjs:replace |
| 187 | func ChanOf(dir ChanDir, t Type) Type { |
| 188 | return toRType(abi.ReflectType(js.Global.Call("$chanType", jsType(t), dir == SendDir, dir == RecvDir))) |
| 189 | } |
| 190 | |
| 191 | //gopherjs:replace |
| 192 | func FuncOf(in, out []Type, variadic bool) Type { |