Searching for: Class Variables in Go
Methods
Language: Go

Methods are functions which have a receiver argument (belonging to a predefined type).

Closures
Language: Go

Closures are functions which enclose other functions, often with a function return type. The inner functions are able to reference the variables around the closure function.

Function Declaration
Language: Go

A function (method) is a block of code that can be called from another location in the program or class. It is used to reduce the repetition of multiple lines of code.