mirror of
https://github.com/Pungyeon/clean-go-article.git
synced 2025-04-18 15:23:36 +00:00
Merge pull request #38 from ibudiallo/goscopes
add the valid return signature for the getStringResult() function
This commit is contained in:
commit
c281014dfa
1 changed files with 3 additions and 3 deletions
|
@ -475,7 +475,7 @@ func getStringResult(num int) (string, error) {
|
|||
case 64:
|
||||
// do nothing
|
||||
}
|
||||
return ""
|
||||
return "", nil
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
|
Loading…
Add table
Reference in a new issue