update readme, modify the return statment for getReference

This commit is contained in:
Avuluri Venkata Sai Reddy 2023-01-29 22:09:54 +05:30 committed by GitHub
parent 5a062ef696
commit 1278f83e1d
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) {