missing 'nil'

This commit is contained in:
Andrew Hurley 2022-11-12 14:48:36 +08:00
parent 2b9dc8fd19
commit 32b032ddb6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ func Hello(name string) string {
}
// Return a greeting that embeds the name in a message.
message := fmt.Sprintf("Hi, %v. Welcome!", name)
return message
return message, nil
}