Skip to content
Snippets Groups Projects
Commit 1ef7dda7 authored by Martin Schmollinger's avatar Martin Schmollinger
Browse files

Added greeting function

parent a46a804c
No related branches found
No related tags found
No related merge requests found
package greetings
import "fmt"
// Hello returns a greeting for the named person.
func Hello(name string) string {
// Return a greeting that embeds the name in a message.
message := fmt.Sprintf("Hi, %v. Welcome!", name)
return message
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment