跳到主要内容
0

本课内容目前为英文。

Functions are values too

In Go you can store a function in a variable, pass it to another function or create one on the spot. That unlocks closures: functions that remember the variables around them.