Do golang have feature to capture variables from outer scope ? [Go language]

后端 未结 0 977
無奈伤痛
無奈伤痛 2020-12-03 01:35

Is there any way to capture variable from outer scope like python and some other language.

If it is possible can you share code snippet and explain it.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题