Functions can send data back using the return keyword. Declare the return type after the parameter list:
func add(a, b int) int {
return a + b
}
The int after the parentheses says this function returns an integer. The return statement sends the value back to the caller. You can capture it: result := add(, ). Now result holds .