How to return multiple values from a function and assign them to variables in Golang or Go?
Originally Published Here ๐!
To return multiple values from a function in Golang or Go, you can use the return keyword followed by the values you need to return separated by a , symbol (comma). Finally, you need to declare the types of the returning...
melvingeorge-me.hashnode.dev5 min read