Skip to content

collegiate: unable to marshall #1

@kendfss

Description

@kendfss

When using your dicterm cli, I get the following error when running dicterm prognosis.

dicterm prognosis
# could not unmarshal response, err: could not unmarshal response: json: cannot unmarshal array into Go struct field Collegiate.ins of type string

For the moment i think it's easiest to set the type of the attribute corresponding to ins to any and use type assertions in the dicterm api.
It's kinda ugly, but so is the merriam webster api, lol.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions