ã³ã¬ã¯ä½ï¼ Golangã®ä¸¦è¡å¦çã«å ¥éããã¨ãã®ã¡ã¢ã§ããæ®æ®µã¯HCLãyamlãä¸å¿ã«æ±ã£ã¦ãããããä¹ ãã¶ãã«Golangã®ãåå¼·ãã¦ãã¾ã¨ãã¾ããã part2ã¯ä»¥ä¸ã§ãã åæ 並è¡å¦ç is ä½ï¼ã¯æ¸ãã¦ãªã Golangã§ããåºã¦ãã並è¡å¦ç(主ã«sync.WaitGroupã¨channel)ã«ã¤ãã¦ãµã©ãã¨æ¸ãã¦ã çè«ã¨ãä¸å¯§ãªè§£èª¬ã¯æ¸ãã¦ãªã Golangã§ã®ä¸¦è¡å¦ç WaitGroup 以ä¸ã®å ´åã«æå¹ãªä¸¦è¡å¦ç 並è¡å¦çã®çµæãæ°ã«ããªã ä»ã«çµæãåéããæ段ããã ããã¥ã¡ã³ãã¯ãã¡ãï¼WaitGroup func main() { var wg sync.WaitGroup wg.Add(1) // ã«ã¦ã³ãã1å¢ãã go func() { defer wg.Done() // goroutineçµäºæã«WaitGroupã«ã¦ã³ãã1æ¸ãã fmt.Prin
{{#tags}}- {{label}}
{{/tags}}