Go has first class functions, you do not have to declare these as variables.  You can declare these functions like normal.