update readme, add return for getVal

This commit is contained in:
Avuluri Venkata Sai Reddy 2023-01-29 22:43:54 +05:30 committed by GitHub
parent 1278f83e1d
commit 3011efee29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -503,6 +503,7 @@ func getVal(num int) (string, error) {
if val == "" {
return NewValue() // pretend function
}
return val, err
}
func main() {