fix: greeeting examples

This commit is contained in:
alwaysshrek
2021-01-02 02:24:25 -05:00
committed by GitHub
parent c9e9dd46a6
commit 2d9d4351f0
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ import (
// Since, you didn't learn about the control flow statements yet
// I didn't include an error detection here.
//
// So, if you don't pass a name and a lastname,
// So, if you don't pass a name,
// this program will fail.
// This is intentional.
@ -28,7 +28,7 @@ func main() {
fmt.Println("Hello great", name, "!")
// changes the name, declares the age with 85
name, age := "gandalf", 2019
name, age := "gandalf", 85
fmt.Println("My name is", name)
fmt.Println("My age is", age)

View File

@ -16,7 +16,7 @@ import (
// Since, you didn't learn about the control flow statements yet
// I didn't include an error detection here.
//
// So, if you don't pass a name and a lastname,
// So, if you don't pass a name,
// this program will fail.
// This is intentional.
@ -26,7 +26,7 @@ func main() {
fmt.Println("Hello great", name, "!")
// changes the name, declares the age with 85
name, age := "gandalf", 2019
name, age := "gandalf", 85
fmt.Println("My name is", name)
fmt.Println("My age is", age)