Files
learngo/06-variables/06-project-greeter/exercises/03-print-your-name/solution/main.go
2018-10-27 16:27:36 +03:00

22 lines
357 B
Go

// For more tutorials: https://blog.learngoprogramming.com
//
// Copyright © 2018 Inanc Gumus
// Learn Go Programming Course
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
//
package main
import (
"fmt"
"os"
)
func main() {
fmt.Println(os.Args[1])
// BONUS SOLUTION:
fmt.Println("Hello", os.Args[1])
fmt.Println("How are you?")
}