{"id":123452,"date":"2024-03-24T11:21:40","date_gmt":"2024-03-24T02:21:40","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/"},"modified":"2024-03-27T18:20:05","modified_gmt":"2024-03-27T09:20:05","slug":"go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/","title":{"rendered":"Go\u8a00\u8a9e\u306eWaitGroup\u3068Goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b"},"content":{"rendered":"<p>Golang\u3067\u306f\u3001sync.WaitGroup\u3068goroutine\u30d7\u30fc\u30eb\u306e\u6d3b\u7528\u306b\u3088\u3063\u3066\u52b9\u7387\u7684\u306a\u4e26\u884c\u51e6\u7406\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001sync.WaitGroup\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u30ab\u30a6\u30f3\u30bf\u3092\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u306e\u30b5\u30a4\u30ba\u306b\u521d\u671f\u5316\u3057\u307e\u3059\u3002\u30ab\u30a6\u30f3\u30bf\u306f\u3001\u5b9f\u884c\u4e2d\u306e\u30ef\u30fc\u30ab\u30fc\u306e\u6570\u3092\u8868\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u30bf\u30b9\u30af\u3092\u30bf\u30b9\u30af\u30ad\u30e5\u30fc\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u56fa\u5b9a\u30b5\u30a4\u30ba\u306e\u30b4\u30eb\u30fc\u30c1\u30f3\u30fb\u30d7\u30fc\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3002\u3053\u308c\u306f\u3001Go\u8a00\u8a9e\u306echan\u3092\u4f7f\u7528\u3057\u3066\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002\u30eb\u30fc\u30d7\u3092\u4f7f\u7528\u3057\u3066\u30b4\u30eb\u30fc\u30c1\u30f3\u3092\u8d77\u52d5\u3057\u3001\u5404\u30b4\u30eb\u30fc\u30c1\u30f3\u306f\u30bf\u30b9\u30af\u30ad\u30e5\u30fc\u304b\u3089\u30bf\u30b9\u30af\u3092\u53d6\u5f97\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002\u30b4\u30eb\u30fc\u30c1\u30f3\u304c\u30bf\u30b9\u30af\u306e\u5b9f\u884c\u3092\u5b8c\u4e86\u3057\u305f\u5f8c\u306f\u3001\u30ab\u30a6\u30f3\u30bf\u30921\u6e1b\u3089\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u5168\u30bf\u30b9\u30af\u304c\u30bf\u30b9\u30af\u30ad\u30e5\u30fc\u306b\u8ffd\u52a0\u3055\u308c\u305f\u3089\u3001Wait\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u5168\u3066\u306e\u30b3\u30eb\u30fc\u30c1\u30f3\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u5f85\u3063\u3066\u3001\u4ee5\u964d\u306e\u64cd\u4f5c\u3078\u3068\u9032\u307f\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">package<\/span> main\r\n<span class=\"hljs-keyword\">import<\/span> (\r\n<span class=\"hljs-string\">\"fmt\"<\/span>\r\n<span class=\"hljs-string\">\"sync\"<\/span>\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\">\/\/ \u521b\u5efa\u4e00\u4e2aWaitGroup\u5bf9\u8c61<\/span>\r\n<span class=\"hljs-keyword\">var<\/span> wg sync.WaitGroup\r\n<span class=\"hljs-comment\">\/\/ \u521d\u59cb\u5316\u534f\u7a0b\u6c60\u7684\u5927\u5c0f<\/span>\r\npoolSize := <span class=\"hljs-number\">10<\/span>\r\n<span class=\"hljs-comment\">\/\/ \u521d\u59cb\u5316\u4efb\u52a1\u961f\u5217<\/span>\r\ntaskQueue := <span class=\"hljs-built_in\">make<\/span>(<span class=\"hljs-keyword\">chan<\/span> <span class=\"hljs-type\">int<\/span>)\r\n<span class=\"hljs-comment\">\/\/ \u542f\u52a8\u534f\u7a0b\u6c60<\/span>\r\n<span class=\"hljs-keyword\">for<\/span> i := <span class=\"hljs-number\">0<\/span>; i &lt; poolSize; i++ {\r\n<span class=\"hljs-keyword\">go<\/span> <span class=\"hljs-function\"><span class=\"hljs-keyword\">func<\/span><span class=\"hljs-params\">()<\/span><\/span> {\r\n<span class=\"hljs-comment\">\/\/ \u4ece\u4efb\u52a1\u961f\u5217\u4e2d\u83b7\u53d6\u4efb\u52a1\u5e76\u6267\u884c<\/span>\r\n<span class=\"hljs-keyword\">for<\/span> task := <span class=\"hljs-keyword\">range<\/span> taskQueue {\r\n<span class=\"hljs-comment\">\/\/ \u6267\u884c\u4efb\u52a1<\/span>\r\nfmt.Println(<span class=\"hljs-string\">\"Processing task\"<\/span>, task)\r\n<span class=\"hljs-comment\">\/\/ \u6a21\u62df\u4efb\u52a1\u6267\u884c\u65f6\u95f4<\/span>\r\n<span class=\"hljs-comment\">\/\/ time.Sleep(time.Second)<\/span>\r\n<span class=\"hljs-comment\">\/\/ \u6307\u793a\u4efb\u52a1\u5df2\u5b8c\u6210<\/span>\r\nwg.Done()\r\n}\r\n}()\r\n}\r\n<span class=\"hljs-comment\">\/\/ \u6dfb\u52a0\u4efb\u52a1\u5230\u4efb\u52a1\u961f\u5217<\/span>\r\n<span class=\"hljs-keyword\">for<\/span> i := <span class=\"hljs-number\">0<\/span>; i &lt; <span class=\"hljs-number\">100<\/span>; i++ {\r\n<span class=\"hljs-comment\">\/\/ \u589e\u52a0\u8ba1\u6570\u5668<\/span>\r\nwg.Add(<span class=\"hljs-number\">1<\/span>)\r\n<span class=\"hljs-comment\">\/\/ \u5c06\u4efb\u52a1\u6dfb\u52a0\u5230\u4efb\u52a1\u961f\u5217\u4e2d<\/span>\r\ntaskQueue &lt;- i\r\n}\r\n<span class=\"hljs-comment\">\/\/ \u5173\u95ed\u4efb\u52a1\u961f\u5217<\/span>\r\n<span class=\"hljs-built_in\">close<\/span>(taskQueue)\r\n<span class=\"hljs-comment\">\/\/ \u7b49\u5f85\u6240\u6709\u534f\u7a0b\u6267\u884c\u5b8c\u6bd5<\/span>\r\nwg.Wait()\r\nfmt.Println(<span class=\"hljs-string\">\"All tasks completed\"<\/span>)\r\n}\r\n<\/code><\/pre>\n<p>\u4e0a\u306e\u4f8b\u3067\u306f\u300110\u30b5\u30a4\u30ba\u306ecoroutine\u30d7\u30fc\u30eb\u3092\u4f5c\u6210\u3057\u3066\u3001100\u500b\u306etask\u3092task\u30ad\u30e5\u30fc\u306b\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002\u5404task\u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u51fa\u529b\u3057\u3001time.Sleep\u3092\u4f7f\u7528\u3057\u3066task\u306e\u5b9f\u884c\u6642\u9593\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30c8\u3057\u307e\u3057\u305f\u3002\u6700\u5f8c\u306b\u3001Wait\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3059\u3079\u3066\u306ecoroutine\u306e\u5b9f\u884c\u3092\u5f85\u3063\u3066\u3001\u5b8c\u4e86\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u51fa\u529b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Sync.WaitGroup\u3068goroutine\u30d7\u30fc\u30eb\u306e\u5229\u7528\u306b\u3088\u308a\u52b9\u7387\u7684\u306a\u4e26\u884c\u51e6\u7406\u3092\u5b9f\u73fe\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u3092\u56f3\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Golang\u3067\u306f\u3001sync.WaitGroup\u3068goroutine\u30d7\u30fc\u30eb\u306e\u6d3b\u7528\u306b\u3088\u3063\u3066\u52b9\u7387\u7684\u306a\u4e26\u884c\u51e6\u7406\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002 \u307e\u305a\u3001sync.WaitGroup\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u30ab\u30a6\u30f3\u30bf\u3092\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u306e\u30b5\u30a4\u30ba\u306b\u521d\u671f\u5316 [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-123452","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>Go\u8a00\u8a9e\u306eWaitGroup\u3068Goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b - 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\/go\u8a00\u8a9e\u306ewaitgroup\u3068goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Go\u8a00\u8a9e\u306eWaitGroup\u3068Goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b\" \/>\n<meta property=\"og:description\" content=\"Golang\u3067\u306f\u3001sync.WaitGroup\u3068goroutine\u30d7\u30fc\u30eb\u306e\u6d3b\u7528\u306b\u3088\u3063\u3066\u52b9\u7387\u7684\u306a\u4e26\u884c\u51e6\u7406\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002 \u307e\u305a\u3001sync.WaitGroup\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u30ab\u30a6\u30f3\u30bf\u3092\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u306e\u30b5\u30a4\u30ba\u306b\u521d\u671f\u5316 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/go\u8a00\u8a9e\u306ewaitgroup\u3068goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-24T02:21:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T09:20:05+00:00\" \/>\n<meta name=\"author\" content=\"\u512a\u6597, \u671d\u967d\" \/>\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=\"\u512a\u6597, \u671d\u967d\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/\",\"name\":\"Go\u8a00\u8a9e\u306eWaitGroup\u3068Goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-24T02:21:40+00:00\",\"dateModified\":\"2024-03-27T09:20:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Go\u8a00\u8a9e\u306eWaitGroup\u3068Goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b\"}]},{\"@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\/cab7534c71201607a41f395de14d7d28\",\"name\":\"\u512a\u6597, \u671d\u967d\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"caption\":\"\u512a\u6597, \u671d\u967d\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Go\u8a00\u8a9e\u306eWaitGroup\u3068Goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b - 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\/go\u8a00\u8a9e\u306ewaitgroup\u3068goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b\/","og_locale":"ja_JP","og_type":"article","og_title":"Go\u8a00\u8a9e\u306eWaitGroup\u3068Goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b","og_description":"Golang\u3067\u306f\u3001sync.WaitGroup\u3068goroutine\u30d7\u30fc\u30eb\u306e\u6d3b\u7528\u306b\u3088\u3063\u3066\u52b9\u7387\u7684\u306a\u4e26\u884c\u51e6\u7406\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002 \u307e\u305a\u3001sync.WaitGroup\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u30ab\u30a6\u30f3\u30bf\u3092\u30ef\u30fc\u30ab\u30fc\u30d7\u30fc\u30eb\u306e\u30b5\u30a4\u30ba\u306b\u521d\u671f\u5316 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/go\u8a00\u8a9e\u306ewaitgroup\u3068goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-24T02:21:40+00:00","article_modified_time":"2024-03-27T09:20:05+00:00","author":"\u512a\u6597, \u671d\u967d","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u512a\u6597, \u671d\u967d"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/","name":"Go\u8a00\u8a9e\u306eWaitGroup\u3068Goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-24T02:21:40+00:00","dateModified":"2024-03-27T09:20:05+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Go\u8a00\u8a9e\u306eWaitGroup\u3068Goroutine\u30d7\u30fc\u30eb\u306e\u52b9\u679c\u7684\u306a\u7d44\u307f\u5408\u308f\u305b"}]},{"@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\/cab7534c71201607a41f395de14d7d28","name":"\u512a\u6597, \u671d\u967d","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","caption":"\u512a\u6597, \u671d\u967d"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/go%e8%a8%80%e8%aa%9e%e3%81%aewaitgroup%e3%81%a8goroutine%e3%83%97%e3%83%bc%e3%83%ab%e3%81%ae%e5%8a%b9%e6%9e%9c%e7%9a%84%e3%81%aa%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/123452","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\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=123452"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/123452\/revisions"}],"predecessor-version":[{"id":193181,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/123452\/revisions\/193181"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=123452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=123452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=123452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}