Skip to content

Different representation of a diff? #14

@decibel

Description

@decibel

I came across this project while looking for a simple way to compare two instances of the same struct. I currently define type Delta struct{ old, new interface{} } and then use a map of that where the member name is the key. Obviously can't do deep compares with that, but it works well from a programmatic standpoint.

I'm wondering if you considered any other methods for handling the paths? Would you be interested in having any alternative representations in this project?

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