mirror of
https://github.com/Pungyeon/clean-go-article.git
synced 2025-04-20 00:03:35 +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 {
|
if !ok {
|
||||||
return EmptyItem, false
|
return EmptyItem, false
|
||||||
}
|
}
|
||||||
return refIface.(string)
|
return refIface.(string), true
|
||||||
}
|
}
|
||||||
|
|
||||||
func getItemByReference(reference string) (Item, error) {
|
func getItemByReference(reference string) (Item, error) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue