Skip to content

go-spew vendoring #1826

@ccoVeille

Description

@ccoVeille

go-spew can panic when trying to print certain types of values, there are open issues about this on their GitHub repository.

go-spew is unfortunately unmaintained, we cannot expect a fix any time soon.

vendoring go-spew, the same way we vendored go-difflib would help us to remove bugs, but also keep the current pretty print lib without moving to something else.

Note: we have already vendored the go-difflib we are using to compare the go-spew results.

Testify is widely used in Go community. We cannot guess the unpredictable effects it could lead to change the pretty print lib.

See #1061

Related issues

It would also help to address old issues because we were depending on go-spew, without a chance so see changes being merged upstream

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