{"id":9541,"date":"2018-09-03T09:00:58","date_gmt":"2018-09-03T00:00:58","guid":{"rendered":"https:\/\/www.agent-grow.com\/self20percent\/?p=9541"},"modified":"2018-09-02T23:28:02","modified_gmt":"2018-09-02T14:28:02","slug":"golang-wasm-support","status":"publish","type":"post","link":"https:\/\/www.agent-grow.com\/self20percent\/2018\/09\/03\/golang-wasm-support\/","title":{"rendered":"Go\u8a00\u8a9e\u3067\u6b63\u5f0f\u306bWebAssembly\u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u305f\u306e\u3067\u8efd\u304fDOM\u64cd\u4f5c\u3057\u3066\u307f\u308b"},"content":{"rendered":"<h1>Go\u8a00\u8a9e\u306e 1.11 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff01 WebAssembly \u30b5\u30dd\u30fc\u30c8\uff01<\/h1>\n<p>\u3053\u3093\u306b\u3061\u306f\uff01<br \/>\n\u6c5f\u5d5c\u3067\u3059\u3002<\/p>\n<p>\u5148\u65e5 Go \u8a00\u8a9e\u306e 1.11 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u306d\uff01 (\u30ea\u30ea\u30fc\u30b9\u8a18\u4e8b\u306f<a href=\"https:\/\/blog.golang.org\/go1.11\" rel=\"noopener\" target=\"_blank\">\u3053\u3061\u3089<\/a>)<\/p>\n<p>\u8a18\u4e8b\u3092\u898b\u308b\u3068\u30011.11 \u3067\u306f module \u3068\u3044\u3046\u6a5f\u80fd\u306e\u8ffd\u52a0\u3082\u3042\u3063\u305f\u3088\u3046\u3067\u3059\u304c\u2026<br \/>\nWebAssembly \u304c\u6b63\u5f0f\u306b\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u306d\uff01<br \/>\n\u4eca\u56de\u306f\u3053\u3061\u3089\u306e\u65b9\u306b\u6ce8\u76ee\uff01<\/p>\n<p>\u3053\u308c\u306f\u8a66\u3057\u3066\u307f\u306a\u3051\u308c\u3070\uff01\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u3001\u8efd\u304f DOM \u64cd\u4f5c\u3042\u305f\u308a\u307e\u3067\u89e6\u3063\u3066\u307f\u307e\u3057\u305f\u30fc<\/p>\n<h2>WebAssembly \u3068\u306f\uff1f<\/h2>\n<p>WebAssembly \u3068\u306f\u3001\u3056\u3063\u304f\u308a\u3044\u3046\u3068\u300c\u30d0\u30a4\u30ca\u30ea\u30b3\u30fc\u30c9\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u52d5\u304b\u3059\u6280\u8853\u300d\u3068\u3044\u3063\u305f\u3068\u3053\u308d\u3067\u3059\u306d\u3002<br \/>\nJavaScript \u306f\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u89e3\u6790\u30fb\u5b9f\u884c\u3055\u308c\u308b\u305f\u3081\u3001\u51e6\u7406\u306b\u6642\u9593\u304c\u304b\u304b\u308a\u304c\u3061\u3067\u3059\u304c\u3001<br \/>\nWebAssembly \u306b\u3088\u3063\u3066\u3001\u3088\u308a\u9ad8\u901f\u306b\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u3067\u3059\u306d\u3002<br \/>\n\u307e\u305f\u3001\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u3082\u5c0f\u3055\u304f\u306a\u308b\u3053\u3068\u304c\u898b\u8fbc\u3081\u307e\u3059\u3002<\/p>\n<p>\u8a73\u3057\u304f\u306f\u3001\u691c\u7d22\u3059\u308c\u3070\u7d50\u69cb\u51fa\u3066\u304f\u308b\u306e\u3067\u305d\u3061\u3089\u3067\u3002<\/p>\n<h1>Go\u8a00\u8a9e\u3067 WebAssembly \u3057\u3088\u3046\uff01<\/h1>\n<p>Go\u8a00\u8a9e\u3067 WebAssembly \u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u306e\u4e8b\u306a\u306e\u3067\u3001\u65e9\u901f\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n<p>\u57fa\u672c\u306f\u516c\u5f0f\u3067\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b <a href=\"https:\/\/github.com\/golang\/go\/wiki\/WebAssembly\" rel=\"noopener\" target=\"_blank\">github \u306e wiki<\/a> \u306b\u5f93\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001 main.go \u3068\u3057\u3066\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3057\u3066\u2026<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npackage main\n\nfunc main() {\n    println(&amp;quot;Hello, WebAssembly!&amp;quot;)\n}\n<\/pre>\n<p>\u3044\u308f\u3086\u308b\u30cf\u30ed\u30fc\u30ef\u30fc\u30eb\u30c9\u3067\u3059\u306d\u3002<br \/>\n\u3053\u308c\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f Windows \u3067\u5b9f\u65bd\u3057\u305f\u306e\u3067\u3001PowerShell \u3067 main.go \u3092\u4f5c\u6210\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066\u3001<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nset GOARCH=wasm\nset GOOS=js\ngo build -o test.wasm main.go\n<\/pre>\n<p>\u3068\u3057\u3066\u30d3\u30eb\u30c9\u3057\u307e\u3059\u3002(GOARCH \u3068 GOOS \u306f\u74b0\u5883\u5909\u6570\u3068\u3057\u3066\u6e21\u3055\u308c\u308c\u3070\u3088\u3044\u3067\u3059\u3002 Mac \u7b49\u306e\u65b9\u306f\u3088\u3057\u306a\u306b\u2026)<br \/>\n\u3059\u308b\u3068\u3001 main.go \u3068\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b test.wasm \u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>WebAssembly \u306e\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u306f\u3067\u304d\u307e\u3057\u305f\u304c\u3001\u3053\u308c\u3060\u3051\u3067\u306f WebAssembly \u3092\u4f53\u9a13\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u3042\u304f\u307e\u3067 Web \u304b\u3089\u8aad\u307f\u3060\u3059\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001 HTML \u30d5\u30a1\u30a4\u30eb\u3068\u3001WebAssembly \u306e\u5b9f\u884c\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b JS \u30d5\u30a1\u30a4\u30eb\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u308c\u305e\u308c\u3001<br \/>\nHTML: <a href=\"https:\/\/github.com\/golang\/go\/blob\/master\/misc\/wasm\/wasm_exec.html\" rel=\"noopener\" target=\"_blank\">https:\/\/github.com\/golang\/go\/blob\/master\/misc\/wasm\/wasm_exec.html<\/a><br \/>\nJS: <a href=\"https:\/\/github.com\/golang\/go\/blob\/master\/misc\/wasm\/wasm_exec.js\" rel=\"noopener\" target=\"_blank\">https:\/\/github.com\/golang\/go\/blob\/master\/misc\/wasm\/wasm_exec.js<\/a><br \/>\n\u306b\u914d\u7f6e\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u308c\u305e\u308c\u5185\u5bb9\u3092\u6301\u3063\u3066\u304d\u3066\u3001\u5148\u7a0b\u306e test.wasm \u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u3068\u3053\u308d\u3078\u914d\u7f6e\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u4fe1\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u304c\u5fc5\u8981\u3067\u3059\u306d\u3002<br \/>\n\u3053\u3061\u3089\u3082 Wiki \u306e\u65b9\u306b Go\u8a00\u8a9e\u3067\u30c6\u30b9\u30c8\u7528\u306e\u7c21\u5358\u306a\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u30b3\u30fc\u30c9\u304c\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001<br \/>\nFor a basic HTTP server \u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3057\u3001 go \u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30b5\u30fc\u30d0\u30fc\u3092\u4f5c\u308a\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u51fa\u6765\u305f\u30b5\u30fc\u30d0\u30fc\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3082\u3001\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u3068\u3053\u308d\u3078\u914d\u7f6e\u3057\u3001<br \/>\n\u30b5\u30fc\u30d0\u30fc\u5b9f\u884c\u5f8c <a href=\"http:\/\/localhost:8080\/wasm_exec.html\" rel=\"noopener\" target=\"_blank\">http:\/\/localhost:8080\/wasm_exec.html<\/a> \u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u6674\u308c\u3066\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306d\uff01<\/p>\n<p>\u30da\u30fc\u30b8\u306b\u8868\u793a\u3055\u308c\u305f\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u3001 WebAssembly \u304c\u8d77\u52d5\u3057\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u3078\u30c6\u30ad\u30b9\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"9546\" data-permalink=\"https:\/\/www.agent-grow.com\/self20percent\/2018\/09\/03\/golang-wasm-support\/anim_2-8\/\" data-orig-file=\"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2018\/08\/anim_2-4.gif\" data-orig-size=\"800,400\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"anim_2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2018\/08\/anim_2-4.gif\" src=\"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2018\/08\/anim_2-4.gif\" alt=\"\" width=\"800\" height=\"400\" class=\"alignnone size-full wp-image-9546\" \/><\/p>\n<h1>\u3055\u3089\u306b\u2026 DOM \u64cd\u4f5c\u307e\u3067\u3084\u308b\u3088\uff01<\/h1>\n<p>\u3053\u308c\u3067\u300c\u3084\u3063\u305f\u30fc\u3067\u304d\u305f\u30fc\uff01\u300d\u3060\u3051\u3067\u3082\u826f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001<br \/>\n\u6298\u89d2\u306a\u306e\u3067\u3082\u3046\u5c11\u3057\u8e0f\u307f\u8fbc\u3093\u3067 DOM \u64cd\u4f5c\u3082\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3064\u3044\u3067\u306b\u3001\u5148\u307b\u3069\u306e\u30b3\u30fc\u30c9\u3067\u306f\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u307e\u3067 WebAssembly \u304c\u5b9f\u884c\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001<br \/>\n\u8aad\u307f\u8fbc\u307f\u304c\u5b8c\u4e86\u3057\u305f\u6642\u70b9\u3067\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u307e\u3067\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<br \/>\n\u307e\u305a\u306f html \u30d5\u30a1\u30a4\u30eb<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;!doctype html&amp;gt;\n&amp;lt;!--\nCopyright 2018 The Go Authors. All rights reserved.\n--&amp;gt;\n&amp;lt;html&amp;gt;\n\n&amp;lt;head&amp;gt;\n    &amp;lt;meta charset=&amp;quot;utf-8&amp;quot;&amp;gt;\n    &amp;lt;title&amp;gt;Go wasm&amp;lt;\/title&amp;gt;\n&amp;lt;\/head&amp;gt;\n\n&amp;lt;body&amp;gt;\n  &amp;lt;input id=&amp;quot;textInput1&amp;quot; type=&amp;quot;text&amp;quot; placeholder=&amp;quot;textInput1&amp;quot;&amp;gt;\n  &amp;lt;input id=&amp;quot;textInput2&amp;quot; type=&amp;quot;text&amp;quot; placeholder=&amp;quot;textInput2&amp;quot; disabled&amp;gt;\n  &amp;lt;button id=&amp;quot;button1&amp;quot; type=&amp;quot;button&amp;quot;&amp;gt;button1&amp;lt;\/button&amp;gt;\n  &amp;lt;button id=&amp;quot;button2&amp;quot; type=&amp;quot;button&amp;quot;&amp;gt;button2&amp;lt;\/button&amp;gt;\n    &amp;lt;a href=&amp;quot;http:\/\/wasm_exec.js&amp;quot;&amp;gt;http:\/\/wasm_exec.js&amp;lt;\/a&amp;gt;\n\n        if (!WebAssembly.instantiateStreaming) { \/\/ polyfill\n            WebAssembly.instantiateStreaming = async (resp, importObject) =&amp;gt; {\n                const source = await (await resp).arrayBuffer();\n                return await WebAssembly.instantiate(source, importObject);\n            };\n        }\n\n        const go = new Go();\n        let mod, inst;\n        WebAssembly.instantiateStreaming(fetch(&amp;quot;test.wasm&amp;quot;), go.importObject).then(async (result) =&amp;gt; {\n            mod = result.module;\n            inst = result.instance;\n\n      console.log(&amp;quot;wasm loaded.&amp;quot;);\n      await go.run(inst);\n      inst = await WebAssembly.instantiate(mod, go.importObject); \/\/ reset instance\n        });\n\n&amp;lt;\/body&amp;gt;\n\n&amp;lt;\/html&amp;gt;\n<\/pre>\n<p>input \u3068 button \u3092 2 \u500b\u3002<br \/>\n\u3042\u3068\u8aad\u307f\u51fa\u3057\u306e\u6240\u3092\u5c11\u3057\u4fee\u6b63\u3057\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>JS \u306e\u65b9\u306f\u5909\u66f4\u306a\u3057\u3067\u3059\u3002<br \/>\n\u3053\u3061\u3089\u306f\u7279\u306b\u3001\u624b\u3092\u5165\u308c\u308b\u3068\u3053\u308d\u306f\u306a\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>\u3067\u3001 main.go \u30d5\u30a1\u30a4\u30eb<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npackage main\n\nimport &amp;quot;syscall\/js&amp;quot;\n\nfunc main() {\n    \/\/ Get \u3067\u8a72\u5f53\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\n    document := js.Global().Get(&amp;quot;document&amp;quot;)\n\n    \/\/ \u30e1\u30bd\u30c3\u30c9\u540d\u3092 Call \u306e\u7b2c\u4e00\u5f15\u6570\u306b\u6e21\u3057\u3066\u5b9f\u884c\n    textInput1 := document.Call(&amp;quot;getElementById&amp;quot;, &amp;quot;textInput1&amp;quot;)\n    textInput2 := document.Call(&amp;quot;getElementById&amp;quot;, &amp;quot;textInput2&amp;quot;)\n    button1 := document.Call(&amp;quot;getElementById&amp;quot;, &amp;quot;button1&amp;quot;)\n    button2 := document.Call(&amp;quot;getElementById&amp;quot;, &amp;quot;button2&amp;quot;)\n\n\n    \/\/ \u65b0\u898f\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u7528\u95a2\u6570\u306e\u4f5c\u6210\n    cb1 := js.NewCallback(func(args &#x5B;]js.Value) {\n        \/\/ Set, Get \u3067\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u53c2\u7167\u30fb\u4ee3\u5165\uff08Get \u306f\u578b\u6307\u5b9a\u3092\u5fd8\u308c\u306a\u3044\u3088\u3046\u6ce8\u610f)\n        textInput2.Set(&amp;quot;value&amp;quot;, textInput1.Get(&amp;quot;value&amp;quot;).String())\n    })\n    \/\/ \u8907\u6570\u306e\u5f15\u6570\u3082 Call \u3067\u6e21\u305b\u308b\n    button1.Call(&amp;quot;addEventListener&amp;quot;, &amp;quot;click&amp;quot;, cb1)\n\n    cb2 := js.NewCallback(func(args &#x5B;]js.Value) {\n        \/\/ \u95a2\u6570\u306f Invoke \u3067\u5b9f\u884c\n        js.Global().Get(&amp;quot;alert&amp;quot;).Invoke(&amp;quot;button2 clicked!&amp;quot;)\n    })\n    button2.Call(&amp;quot;addEventListener&amp;quot;, &amp;quot;click&amp;quot;, cb2)\n\n\n    \/\/ \u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u7d42\u4e86\u3057\u306a\u3044\u3088\u3046\u3001\u30c1\u30e3\u30cd\u30eb\u306e\u5f85\u3061\u53d7\u3051\u3092\u3059\u308b\n    &amp;lt;-make(chan struct{}, 0)\n}\n<\/pre>\n<p>\u7d50\u69cb\u884c\u6570\u304c\u5897\u3048\u307e\u3057\u305f\u3002<br \/>\n\u57fa\u672c\u7684\u306b\u306f\u30b3\u30e1\u30f3\u30c8\u3092\u5165\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u3044\u305f\u3060\u304f\u3068\u3057\u3066\u2026<\/p>\n<p><code>import \"syscall\/js\"<\/code> \u306f JS \u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u306d\u3002<br \/>\n\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f <a href=\"https:\/\/tip.golang.org\/pkg\/syscall\/js\/\" rel=\"noopener\" target=\"_blank\">https:\/\/tip.golang.org\/pkg\/syscall\/js\/<\/a> \u3002<\/p>\n<p><code>js.Global<\/code> \u3067\u30b0\u30ed\u30fc\u30d0\u30eb\u304c\u53d6\u308c\u3066\u304f\u308b\u306e\u3067\u3001 <code>.Get()<\/code> \u3092\u6570\u73e0\u3064\u306a\u304e\u306b\u3057\u3066\u76ee\u7684\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3001<br \/>\n<code>Call()<\/code> \u3067\u30e1\u30bd\u30c3\u30c9\u5b9f\u884c\u3067\u3059\u306d\u3002<\/p>\n<p>\u3053\u306e\u8fba\u308a\u304c\u4f7f\u3048\u308c\u3070\u3001\u5927\u62b5\u306e\u3053\u3068\u306f\u51fa\u6765\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3042\u3068\u3001\u6ce8\u610f\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u306e\u304c\u3001\u6700\u5f8c\u306e <code>&amp;lt;-make(chan struct{}, 0)<\/code> \u3067\u3059\u306d\u3002<\/p>\n<p>\u3053\u308c\u304c\u306a\u3044\u3068\u3001\u6700\u521d\u306b HTML \u304b\u3089 WebAssembly \u3092\u30ed\u30fc\u30c9\u3057\u305f\u5f8c\u3001\u3059\u3050\u7d42\u4e86\u3057\u3066\u3057\u307e\u3044<br \/>\n\u30a4\u30d9\u30f3\u30c8\u3092\u767a\u706b\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u30a4\u30d9\u30f3\u30c8\u306a\u3069\u306e\u975e\u540c\u671f\u51e6\u7406\u3092\u884c\u3044\u305f\u3044\u5834\u5408\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6700\u5f8c\u306b\u30c1\u30e3\u30cd\u30eb\u306e\u5165\u529b\u3092\u914d\u7f6e\u3057\u3001<br \/>\n\u3053\u3053\u3067\u5f85\u6a5f\u3055\u305b\u3066\u7d42\u4e86\u3057\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u308c\u3092\u5148\u307b\u3069\u540c\u69d8\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u2026<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"9544\" data-permalink=\"https:\/\/www.agent-grow.com\/self20percent\/2018\/09\/03\/golang-wasm-support\/anim_2-7\/\" data-orig-file=\"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2018\/08\/anim_2-3.gif\" data-orig-size=\"800,400\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"anim_2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2018\/08\/anim_2-3.gif\" src=\"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2018\/08\/anim_2-3.gif\" alt=\"\" width=\"800\" height=\"400\" class=\"alignnone size-full wp-image-9544\" \/><\/p>\n<p>\u3044\u3044\u611f\u3058\u3067\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u306d\uff01<\/p>\n<h1>\u307e\u3068\u3081<\/h1>\n<p>Go\u8a00\u8a9e\u306f Version 1.11 \u304b\u3089\u3001 WebAssembly \u306b\u5bfe\u5fdc\u306b\u306a\u308a\u307e\u3057\u305f\uff01<br \/>\n\u6700\u8fd1\u306f Web \u306e\u53ef\u80fd\u6027\u304c\u3069\u3093\u3069\u3093\u5e83\u304c\u3063\u3066\u3044\u307e\u3059\u306d\uff01<\/p>\n<p>\u3053\u308c\u304b\u3089\u306f 3D \u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u304c\u5fc5\u8981\u306a\u30b2\u30fc\u30e0\u306a\u3069\u306e\u91cd\u3044\u51e6\u7406\u3067\u3082\u3001\u30ac\u30f3\u30ac\u30f3 Web \u3067\u5b9f\u73fe\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u3001\u4eca\u3059\u3050\u3053\u308c\u3092\u4f7f\u3048\uff01\u3068\u3044\u3046\u3082\u306e\u3067\u306f\u306a\u3044\u3067\u3059\u304c\uff08\u30b3\u30fc\u30c9\u898b\u3066\u3082\u3089\u3063\u305f\u3089\u5206\u304b\u308a\u307e\u3059\u304c\u3001\u307e\u3060 \u30d9\u30bf\u3067 DOM \u64cd\u4f5c\u3092\u66f8\u304f\u5fc5\u8981\u304c\u3042\u3063\u305f\u308a\u3057\u3066\u3001\u898f\u6a21\u306e\u5927\u304d\u3044\u958b\u767a\u306f\u30e0\u30ea\u304c\u3042\u308a\u307e\u3059\u306d\uff09\u4eca\u5f8c\u306e Web \u754c\u306b\u307e\u305f\u4e00\u3064\u53ef\u80fd\u6027\u304c\u5e83\u304c\u3063\u305f\u3068\u3053\u308d\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u7686\u3055\u3093\u3082\u3001\u305c\u3072\u30c8\u30e9\u30a4\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go\u8a00\u8a9e\u306e 1.11 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff01 WebAssembly \u30b5\u30dd\u30fc\u30c8\uff01 \u3053\u3093\u306b\u3061\u306f\uff01 \u6c5f\u5d5c\u3067\u3059\u3002 \u5148\u65e5 Go \u8a00\u8a9e\u306e 1.11 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u306d\uff01 (\u30ea\u30ea\u30fc\u30b9\u8a18\u4e8b\u306f\u3053\u3061\u3089) \u8a18\u4e8b\u3092\u898b\u308b\u3068\u30011.11 \u3067\u306f  [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":9548,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[342,363],"class_list":["post-9541","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-go","tag-webassembly"],"jetpack_featured_media_url":"https:\/\/www.agent-grow.com\/self20percent\/wp-content\/uploads\/2018\/08\/850c7612116999490846136e772ab7fd-1.png","jetpack_shortlink":"https:\/\/wp.me\/p7Bq4F-2tT","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts\/9541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/comments?post=9541"}],"version-history":[{"count":0,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/posts\/9541\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/media\/9548"}],"wp:attachment":[{"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/media?parent=9541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/categories?post=9541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.agent-grow.com\/self20percent\/wp-json\/wp\/v2\/tags?post=9541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}