Putting Function Types in Context
Question | Answer |
---|---|
What are they? | Functions in Go have a data type, which describes the combination of parameters the function consumes and the results the function produces. This type can be specified explicitly or inferred from a function defined using a literal ... |