表é¡ã®ãããªå¦çã¯ããã¸ãè¯ããã£ã¦ãä¼¼ããããªãã®ãã¿ãªããæ¸ããã¦ããã¨æããèªåã®ã³ã¼ãã§ãä½åº¦ãåºã¦ããã®ã§ãParallelGenerateã¨ããé¢æ°ã«æ½è±¡åãã¤ã¤ã¾ã¨ãã¦ã¿ãã¨ããã¡ã¢çã¨ã³ããªã¼ã§ãã ParallelGenerate ParallelGenerateã¯å¤ã®çææ段ã®åãåãåã£ã¦ãå¤ã並åã«çæããçµæã®åãåãåãããã®ãã£ã³ãã«ãè¿ããæ±ç¨çãªé¢æ°ã import ( "sync" ) type Generator interface { Generate() (interface{}, error) } func ParallelGenerate(generators []interface{}) chan []interface{} { generated := make(chan interface{}) finish := make(chan b
{{#tags}}- {{label}}
{{/tags}}