Skip to content

cannot unmarshal string into Go struct field SimpleEmailReceipt.dmarcPolicy of type events.SimpleEmailVerdict #126

Closed
@kaihendry

Description

@kaihendry

Workaround was to:

DMARCPolicy          json.RawMessage          `json:"dmarcPolicy"`

https://github.com/aws/aws-lambda-go/blob/master/events/ses.go#L37

These poor mappings are making it really quite painful to develop with Golang and AWS... Else am I missing a trick?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions