Open josofm opened 3 years ago
When I try query some cards, by id or by name I receive this error: json: cannot unmarshal string into Go struct field Card.cards.multiverseid of type mtg.MultiverseId
json: cannot unmarshal string into Go struct field Card.cards.multiverseid of type mtg.MultiverseId
q := mtg.NewQuery() cards, err := q.Where(mtg.CardName, name).All() if err != nil { return cards, err } return cards, nil }
Any idea?
Should be fixed by #11
When I try query some cards, by id or by name I receive this error:
json: cannot unmarshal string into Go struct field Card.cards.multiverseid of type mtg.MultiverseId
Any idea?