Function type is useful:
- In the case of higher-order functions as we have seen in the above example. The argument and return type is specified using function type
- In the case of defining interfaces in go as in the interface, only the function type is specified. Whatever implements this interface has to define a function of the same type
Notice that the interface shape only defines the type of function