Skip to content

Use var for attrPrefix and contentPrefix #26

@henripqt

Description

@henripqt

As of now we cannot remove attrPrefix and contentPrefix by setting them to a blank string as the decoder checks on that and defaults to their const attrPrefix and contentPrefix

In our case we'd like not to use any prefixes onto either of the extracted values. A simple fix could be to define attrPrefix and contentPrefix as var instead of const in order to allow overriding them using ldflags

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