userName string example for SayHello function
This commit is contained in:
parent
9f03e0a62e
commit
220522e1b2
|
@ -7,6 +7,6 @@ func Addition(number1 int, number2 int) int{
|
|||
return total
|
||||
}
|
||||
|
||||
func SayHello() {
|
||||
fmt.Println("Hello There !")
|
||||
func SayHello(userName string) {
|
||||
fmt.Println("Hello There !", userName)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user