Golang Program that Uses Multiple Return Values
In Golang, we can return multiple values at a time from a single function. Multiple return values can be achieved by changing the return type of the function in the function signature. Syntax :Â func value( ) ( int , int ) {Â return 1 , 0 ;Â }Â The (int, int) in this function signature explains that