mirror of
https://github.com/mainnika/mongox-go-driver.git
synced 2026-06-12 16:53:35 +00:00
Ignore unused arguments
This commit is contained in:
@@ -140,7 +140,7 @@ func (d *Database) createAggregateLoad(target interface{}, composed *query.Query
|
|||||||
if !ok {
|
if !ok {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
jsonTag, ok := tag.Lookup("json")
|
jsonTag, _ := tag.Lookup("json")
|
||||||
if jsonTag == "-" {
|
if jsonTag == "-" {
|
||||||
panic(fmt.Errorf("preload private field is impossible"))
|
panic(fmt.Errorf("preload private field is impossible"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user