mirror of
https://github.com/Pungyeon/clean-go-article.git
synced 2025-04-18 15:23:36 +00:00
update readme, modify the return statment for getReference
This commit is contained in:
parent
5a062ef696
commit
1278f83e1d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue