Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Encoding does not marshal the fields as expected #342

Open
@Laubi

Description

@Laubi

According to this comment, encoding should be the arguments reversed. However, the mapstructure annotations are lost and it's not correctly encoded.

Example: https://go.dev/play/p/m1pPpDYYMED

The expected output should have been

{myName:something}

instead of

{Name:something}

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