Welcome to tutorial no. 17 in Golang tutorial series. Introduction A method is just a function with a special receiver type between the func keyword and the method name. The receiver can either be a struct type or non-struct type. The syntax of a method declaration is provided below. func (t Type) methodName(parameter list) { } The above snippet creates a method named methodName with receiver type Type. t is called as the receiver and it can be accessed within the method.