ã¯ããã« 2024å¹´8æ13æ¥ãGo 1.23ããªãªã¼ã¹ãããã¤ãã«ã¤ãã¬ã¼ã¿ãå©ç¨å¯è½ã¨ãªãã¾ããã ãã®è¨äºã§ã¯ãGoã®ã¤ãã¬ã¼ã¿ã«ã¤ãã¦ã ã©ããã£ã¦ä½¿ãã®ã ã©ãã¾ã§ç¥ã£ã¦ããå¿ è¦ãããã®ã ãç解ãããã¨ãã´ã¼ã«ã¨ãã¾ãã åºæ¬çãªç¥è åºæ¬çãªç¥èã¨ãã¦ã¯ã以ä¸ã®å 容ãç¥ã£ã¦ããã°åé¡ãªãã§ãã foræã®rangeã«ã¼ãã®ä»æ§ãå¤ãã£ã é¢æ°ã対象ã«rangeã«ã¼ããåããããã«ãªã rangeã«ã¼ãã®å¯¾è±¡ã«ã§ãã種é¡ã®é¢æ°ãã¤ãã¬ã¼ã¿ã¨å¼ã¶ ã¤ãã¬ã¼ã¿ã«ã¯3種é¡ãã foræã®rangeã«ã¼ãã®ä»æ§ãå¤ãã£ã Go 1.22ã¾ã§ã¯ãforæã«ããrangeã«ã¼ãã®å¯¾è±¡ã«ã§ããã®ã¯ãé å, slice, æåå, map, channel, æ´æ°ã ãã§ããã Go 1.23ã§ãããã«é¢æ°ï¼ãã ããç¹å®ã®å½¢å¼ã«éãï¼ãå ããã¾ããã ããã§ãrangeã«ã¼ãã®å¯¾è±¡ã«ã§ããå½¢å¼ã®
{{#tags}}- {{label}}
{{/tags}}