missing 'nil'
This commit is contained in:
parent
2b9dc8fd19
commit
32b032ddb6
|
|
@ -11,7 +11,7 @@ func Hello(name string) string {
|
||||||
}
|
}
|
||||||
// Return a greeting that embeds the name in a message.
|
// Return a greeting that embeds the name in a message.
|
||||||
message := fmt.Sprintf("Hi, %v. Welcome!", name)
|
message := fmt.Sprintf("Hi, %v. Welcome!", name)
|
||||||
return message
|
return message, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue