Skip to content

UserTemplate.FolderID using bool as field type #58

Description

@shaorui23

Hi,

I came across with an unexpected issue when I ran the command.

panic: json: cannot unmarshal number into Go struct field UserTemplate.folder_id of type bool

I checked with the code but found that FolderId is using bool as type. Any idea why we using
bool here instead of int? https://github.com/mattbaird/gochimp/blob/master/chimp_templates.go#L48

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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