Last active
March 20, 2023 05:26
-
-
Save Mayankgupta688/92d34301055654c6ebba2617f3e21b8e 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) | |
fmt.Println("Is User a Developer:", isDeveloper) | |
} | |
func getValues() (string, int) { | |
return "Mayank", 34, true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment