mirror of
https://github.com/mainnika/mongox-go-driver.git
synced 2026-05-22 15:53:36 +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 {
|
||||
continue
|
||||
}
|
||||
jsonTag, ok := tag.Lookup("json")
|
||||
jsonTag, _ := tag.Lookup("json")
|
||||
if jsonTag == "-" {
|
||||
panic(fmt.Errorf("preload private field is impossible"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user