Could someone explain me strange select-case-default behavior? If i put fmt.printf(something %v\n) in cases, it never reaches default stage and times out. But if i defer or comment printf it's ok. Screenshots: bad code commented defered and my code at GO playground https://play.golang.org/p/FYsToHUJE43
评论
请
登录后发表观点
- 积分
0 - 话题
0 - 评论
3273 - 注册排名
2573