Merge pull request #46 from saireddyavs/master

Update README.md
This commit is contained in:
Lasse Martin Jakobsen 2023-01-31 16:24:34 +01:00 committed by GitHub
commit f18fd5f884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -311,7 +311,7 @@ func getReference(extension string) (string, bool) {
if !ok {
return EmptyItem, false
}
return refIface.(string)
return refIface.(string), true
}
func getItemByReference(reference string) (Item, error) {
@ -503,6 +503,7 @@ func getVal(num int) (string, error) {
if val == "" {
return NewValue() // pretend function
}
return val, err
}
func main() {