{"id":114699,"date":"2024-03-22T23:49:11","date_gmt":"2024-03-22T14:49:11","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/"},"modified":"2024-03-27T05:09:37","modified_gmt":"2024-03-26T20:09:37","slug":"php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/","title":{"rendered":"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b?"},"content":{"rendered":"<p>PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u306b\u306f\u3001\u6b21\u306e2\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>Golang\u304c\u63d0\u4f9b\u3059\u308bCGO\uff08C\u8a9e\u8a00\u547c\u3073\u51fa\u3057Golang\uff09\u6a5f\u69cb\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001Golang\u3067C\u8a00\u8a9e\u5f62\u5f0f\u306e\u95a2\u6570\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3066\u4ed6\u306e\u8a00\u8a9e\u304b\u3089\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002CGO\u3092\u4f7f\u7528\u3057\u3066\u3001Golang\u306e\u30b3\u30fc\u30c9\u3092\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\uff08.so\u30d5\u30a1\u30a4\u30eb\uff09\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3001PHP\u3067FFI\uff08Foreign Function Interface\uff09\u3092\u4f7f\u7528\u3057\u3066\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30ed\u30fc\u30c9\u3057\u3001Golang\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u307e\u305a\u3001Golang\u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u95a2\u6570\u3092\/\/export\u30b3\u30e1\u30f3\u30c8\u30de\u30fc\u30af\u3067\u6ce8\u91c8\u4ed8\u3051\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001CGO\u3067\u95a2\u6570\u304c\u8a8d\u8b58\u3055\u308c\u3001\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3055\u308c\u307e\u3059\u3002\u6b21\u306b\u3001go build\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066Golang\u30b3\u30fc\u30c9\u3092\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">package<\/span> main\r\n\r\n<span class=\"hljs-keyword\">import<\/span> <span class=\"hljs-string\">\"C\"<\/span>\r\n\r\n<span class=\"hljs-comment\">\/\/export MyGoFunction<\/span>\r\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">func<\/span> <span class=\"hljs-title\">MyGoFunction<\/span><span class=\"hljs-params\">()<\/span><\/span> {\r\n    <span class=\"hljs-comment\">\/\/ Golang\u51fd\u6570\u7684\u5b9e\u73b0<\/span>\r\n}\r\n\r\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">func<\/span> <span class=\"hljs-title\">main<\/span><span class=\"hljs-params\">()<\/span><\/span> {\r\n    <span class=\"hljs-comment\">\/\/ \u7a0b\u5e8f\u5165\u53e3<\/span>\r\n}\r\n<\/code><\/pre>\n<p>\u6b21\u306b\u3001go build -buildmode=c-shared -o libmygo.so \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b3\u30fc\u30c9\u3092\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059\u3002\u305d\u306e\u6b21\u306b\u3001PHP \u3067 FFI \u62e1\u5f35\u3092\u4f7f\u7528\u3057\u3066\u3001\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30ed\u30fc\u30c9\u3057\u3066 Golang \u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">&lt;?php<\/span>\r\n<span class=\"hljs-variable\">$ffi<\/span> = FFI::<span class=\"hljs-title function_ invoke__\">cdef<\/span>(<span class=\"hljs-string\">\"\r\n    void MyGoFunction();\r\n\"<\/span>, <span class=\"hljs-string\">\"libmygo.so\"<\/span>);\r\n\r\n<span class=\"hljs-variable\">$ffi<\/span>-&gt;<span class=\"hljs-title function_ invoke__\">MyGoFunction<\/span>();\r\n<span class=\"hljs-meta\">?&gt;<\/span>\r\n<\/code><\/pre>\n<p>\u306a\u304a\u3001\u5171\u6709\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30ed\u30fc\u30c9\u306bFFI\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001PHP\u5074\u3067FFI\u62e1\u5f35\u3092\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>net\/rpc<\/li>\n<li>\u30cd\u30a4\u30c6\u30a3\u30d6\u306e\u65e5\u672c\u8a9e\u3067\u6587\u7ae0\u3092\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u30021 \u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/li>\n<\/ol>\n<p>\u307e\u305a\uff0cRPC\u30b5\u30fc\u30d3\u30b9\u306fGo\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u88c5\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">package<\/span> main\r\n\r\n<span class=\"hljs-keyword\">import<\/span> (\r\n    <span class=\"hljs-string\">\"errors\"<\/span>\r\n    <span class=\"hljs-string\">\"net\"<\/span>\r\n    <span class=\"hljs-string\">\"net\/http\"<\/span>\r\n    <span class=\"hljs-string\">\"net\/rpc\"<\/span>\r\n)\r\n\r\n<span class=\"hljs-keyword\">type<\/span> MyService <span class=\"hljs-keyword\">struct<\/span>{}\r\n\r\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">func<\/span> <span class=\"hljs-params\">(s *MyService)<\/span><\/span> MyGoFunction(args *<span class=\"hljs-type\">int<\/span>, reply *<span class=\"hljs-type\">int<\/span>) <span class=\"hljs-type\">error<\/span> {\r\n    <span class=\"hljs-comment\">\/\/ Golang\u51fd\u6570\u7684\u5b9e\u73b0<\/span>\r\n    <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-literal\">nil<\/span>\r\n}\r\n\r\n<span class=\"hljs-function\"><span class=\"hljs-keyword\">func<\/span> <span class=\"hljs-title\">main<\/span><span class=\"hljs-params\">()<\/span><\/span> {\r\n    myService := <span class=\"hljs-built_in\">new<\/span>(MyService)\r\n    rpc.Register(myService)\r\n    rpc.HandleHTTP()\r\n\r\n    l, err := net.Listen(<span class=\"hljs-string\">\"tcp\"<\/span>, <span class=\"hljs-string\">\":1234\"<\/span>)\r\n    <span class=\"hljs-keyword\">if<\/span> err != <span class=\"hljs-literal\">nil<\/span> {\r\n        <span class=\"hljs-comment\">\/\/ \u9519\u8bef\u5904\u7406<\/span>\r\n        <span class=\"hljs-keyword\">return<\/span>\r\n    }\r\n\r\n    http.Serve(l, <span class=\"hljs-literal\">nil<\/span>)\r\n}\r\n<\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001go run main.go \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066 Golang \u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3001localhost:1234 \u3067 RPC \u30b5\u30fc\u30d3\u30b9\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001PHP\u3067jsonrpc\u3084\u540c\u69d8\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u5229\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bGo\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">&lt;?php<\/span>\r\n<span class=\"hljs-variable\">$client<\/span> = <span class=\"hljs-keyword\">new<\/span> JsonRPC\\<span class=\"hljs-title function_ invoke__\">Client<\/span>(<span class=\"hljs-string\">'http:\/\/localhost:1234'<\/span>);\r\n<span class=\"hljs-variable\">$result<\/span> = <span class=\"hljs-variable\">$client<\/span>-&gt;<span class=\"hljs-title function_ invoke__\">MyGoFunction<\/span>(<span class=\"hljs-variable\">$args<\/span>);\r\n\r\n<span class=\"hljs-keyword\">if<\/span> (<span class=\"hljs-variable\">$result<\/span>-&gt;<span class=\"hljs-title function_ invoke__\">isError<\/span>()) {\r\n    <span class=\"hljs-comment\">\/\/ \u9519\u8bef\u5904\u7406<\/span>\r\n    <span class=\"hljs-keyword\">return<\/span>;\r\n}\r\n\r\n<span class=\"hljs-comment\">\/\/ \u5904\u7406\u7ed3\u679c<\/span>\r\n<span class=\"hljs-meta\">?&gt;<\/span>\r\n<\/code><\/pre>\n<p>jsonrpc \u62e1\u5f35\u6a5f\u80fd\u307e\u305f\u306f\u540c\u69d8\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092 PHP \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002RPC \u547c\u3073\u51fa\u3057\u3067 Golang \u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001Golang \u306e RPC \u30b5\u30fc\u30d3\u30b9\u304c\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306a\u30b5\u30fc\u30d0\u30fc\u3067\u5b9f\u884c\u3055\u308c\u3001PHP \u306f\u305d\u306e\u30b5\u30fc\u30d0\u30fc\u3068\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u63a5\u7d9a\u3092\u78ba\u7acb\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u306b\u306f\u3001\u6b21\u306e2\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002 Golang\u304c\u63d0\u4f9b\u3059\u308bCGO\uff08C\u8a9e\u8a00\u547c\u3073\u51fa\u3057Golang\uff09\u6a5f\u69cb\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001Golang\u3067C\u8a00\u8a9e\u5f62\u5f0f\u306e\u95a2\u6570\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3066\u4ed6\u306e\u8a00\u8a9e\u304b\u3089\u547c\u3073\u51fa\u3059\u3053\u3068 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-114699","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b? - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/php\u304b\u3089go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b?\" \/>\n<meta property=\"og:description\" content=\"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u306b\u306f\u3001\u6b21\u306e2\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002 Golang\u304c\u63d0\u4f9b\u3059\u308bCGO\uff08C\u8a9e\u8a00\u547c\u3073\u51fa\u3057Golang\uff09\u6a5f\u69cb\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001Golang\u3067C\u8a00\u8a9e\u5f62\u5f0f\u306e\u95a2\u6570\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3066\u4ed6\u306e\u8a00\u8a9e\u304b\u3089\u547c\u3073\u51fa\u3059\u3053\u3068 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/php\u304b\u3089go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-22T14:49:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-26T20:09:37+00:00\" \/>\n<meta name=\"author\" content=\"\u7d50\u8863, \u6625\u82b1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7d50\u8863, \u6625\u82b1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/\",\"name\":\"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b? - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-22T14:49:11+00:00\",\"dateModified\":\"2024-03-26T20:09:37+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac\",\"name\":\"\u7d50\u8863, \u6625\u82b1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g\",\"caption\":\"\u7d50\u8863, \u6625\u82b1\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/yuiharuka\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b? - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/php\u304b\u3089go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\/","og_locale":"ja_JP","og_type":"article","og_title":"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b?","og_description":"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u306b\u306f\u3001\u6b21\u306e2\u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002 Golang\u304c\u63d0\u4f9b\u3059\u308bCGO\uff08C\u8a9e\u8a00\u547c\u3073\u51fa\u3057Golang\uff09\u6a5f\u69cb\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001Golang\u3067C\u8a00\u8a9e\u5f62\u5f0f\u306e\u95a2\u6570\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3066\u4ed6\u306e\u8a00\u8a9e\u304b\u3089\u547c\u3073\u51fa\u3059\u3053\u3068 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/php\u304b\u3089go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-22T14:49:11+00:00","article_modified_time":"2024-03-26T20:09:37+00:00","author":"\u7d50\u8863, \u6625\u82b1","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u7d50\u8863, \u6625\u82b1","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/","name":"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b? - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-22T14:49:11+00:00","dateModified":"2024-03-26T20:09:37+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP\u304b\u3089Go\u8a00\u8a9e\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u65b9\u6cd5\u306f\u4f55\u3067\u3059\u304b?"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac","name":"\u7d50\u8863, \u6625\u82b1","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g","caption":"\u7d50\u8863, \u6625\u82b1"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/yuiharuka\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/php%e3%81%8b%e3%82%89go%e8%a8%80%e8%aa%9e%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e3%82%92%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%99%e6%96%b9%e6%b3%95%e3%81%af%e4%bd%95%e3%81%a7%e3%81%99%e3%81%8b\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/114699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=114699"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/114699\/revisions"}],"predecessor-version":[{"id":175573,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/114699\/revisions\/175573"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=114699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=114699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=114699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}