ï¼ä»¥ä¸ã¯go 1.2.xæç¹ã§ã®è©±ã§ããå°æ¥çã«ä»æ§ãããããã©ããã¯ãããã¾ããï¼ ãããèªãã§ãã¦ãããããã®æ°ã«ãã¦ãªã人å¤ããã ãããªã¼ã¨æã£ã¦ãæ¸ãã¦ã¿ã¾ããå ã®ãã¹ãã¯deferã®æåã«ã¤ãã¦èªã£ã¦ããããã«è¦åããããããã©ããããã¯è¦ã¯è¤æ°ã¹ã¬ããã§å®è¡ãããã³ã¼ãã«ã¤ãã¦ãããã°ã©ã çµäºæã«åæã¨ãåããããªããã¨ãã話ã ã¨æã£ãã®ã§ããã®ãã¹ãã®deferãæ£ããåããã«ã¯â¦ã¨ããã¨ããããã©ãããå½¢ã§goroutineå士ã§åæãåãæ¹æ³ãããã®ããä¸ä¾ãæ¸ãåºãã¦ããã¾ãã TL;DR; goã§ãããgoroutineãæ°è»½ã«ãããããã¨è¨ã£ã¦ãè¤æ°ã¹ã¬ããã§å¦çãè¡ããã¦ããã®ã§åæã¯ããã³ã¨ãããªãã¨ãã¡ã§ããã deferã®åºæ¬ goã§ã¯LLã®ããªã§ã³ã¼ããæ¸ããã®ã売ãã®ä¸ã¤ã§ãããã¡ã¢ãªç®¡çã¯ãã¦ããããã®ã®ãæ§ã ãªãªã½ã¼ã¹è§£æ¾ãå ¨ã¦èªåã¨ããããã§ã¯ãã
{{#tags}}- {{label}}
{{/tags}}