Skip to content

Instantly share code, notes, and snippets.

@Mayankgupta688
Last active March 20, 2023 03:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mayankgupta688/52e2537d200910dc517997d0229b63ab to your computer and use it in GitHub Desktop.
Save Mayankgupta688/52e2537d200910dc517997d0229b63ab to your computer and use it in GitHub Desktop.
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