mirror of
https://github.com/Pungyeon/clean-go-article.git
synced 2025-04-19 07:43:36 +00:00
update readme, add return for getVal
This commit is contained in:
parent
1278f83e1d
commit
3011efee29
1 changed files with 1 additions and 0 deletions
|
@ -503,6 +503,7 @@ func getVal(num int) (string, error) {
|
|||
if val == "" {
|
||||
return NewValue() // pretend function
|
||||
}
|
||||
return val, err
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
|
Loading…
Add table
Reference in a new issue