Skip to content

Not able to use msgp with go modules #241

@Halfi

Description

@Halfi

Command go get -u -t github.com/tinylib/msgp install msgp from master. It generates code with msgp.WrapError.
But when using msgp in app with go modules, latest version is v1.0.2 and there are no msgp.WrapError. To migrate to version v2 you should use v2 postfix in import path, but I can't modify pregenerated code.
It was broken in commit 1360bda

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions