The actionable bulding block in go is the function. It can be used as a call with or without return values. Sometimes they are also referred to as “methods”, mainly in OO languages or procedures in older languages.

Also you can assign functions to variables. A few function names are reserved, main and init.