Return Multiple Values in Go
Go has built-in support for multiple return values. This feature is used often in idiomatic Go, for example to return both result and error values from a function.
Go has built-in support for multiple return values. This feature is used often in idiomatic Go, for example to return both result and error values from a function.