Last active
March 20, 2023 03:51
-
-
Save Mayankgupta688/52e2537d200910dc517997d0229b63ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
userName, userAge, isDeveloper := getValues() | |
fmt.Println("User Name is:", userName) | |
fmt.Println("User Age is:", userAge) | |
} | |
func getValues() (string, int) { | |
return "Mayank", 34 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment