mirror of
https://github.com/Pungyeon/clean-go-article.git
synced 2025-04-20 00:03:35 +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 == "" {
|
if val == "" {
|
||||||
return NewValue() // pretend function
|
return NewValue() // pretend function
|
||||||
}
|
}
|
||||||
|
return val, err
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue