issues Search Results · repo:r3labs/diff language:Go
Filter by
54 results
(91 ms)54 results
inr3labs/diff (press backspace or delete to remove)take the following object
type Struct struct {
foo int
bar string
slice []string
and I have two instances
a := Struct{
foo: 1
bar: foobar
slice: [ a , b , c ]
}
b := Struct{
foo: 1
bar: foobar ...
khumps
- Opened on Mar 13
- #115
Hey folks. I m planning on using your module for some use cases in my work. I saw that there were no updates and some pr
s and issues that were not touched for a while. Could you give some info about the ...
juicyarts
- Opened on Feb 13
- #112
github.com/r3labs/diff/v3 v3.0.1
I just ran into a bug / unexpected behavior when trying to diff and patch a complex struct with custom types. Not sure
if this is out of scope or already covered by the ...
pikaro
- Opened on Nov 9, 2024
- #111
I have a need to diff two different fields when I use the diff package.
KelvinChen684
- Opened on Aug 21, 2024
- #109
i used this library online. then the cpu usage had a huge spike
colin0000007
- Opened on Aug 6, 2024
- #108
Howdy!
What am I missing here: I am unable to patch my blank struct property. The last assertion fails with reflect: call of
reflect.Value.Type on zero Value.
type PatchStruct struct {
Variable *int ...
stoffen
- Opened on Nov 10, 2023
- #107
At the moment, it seems nil/uninitialized slices are == initialized empty list slices.
type testStruct struct {
A []string
}
func Test_DiffNilList(t *testing.T) {
p := testStruct{}
assert.Nil(t, p.A) ...
theFong
- Opened on Nov 8, 2023
- #106
Hello!
I m diffing some large nested structures and running into really long run times with v3.
Interestingly v1 of this package returns in mere seconds with the correct changelog result.
However, I ...
lly-c232733
- Opened on Oct 24, 2023
- #105
Hi :wave: ! I d like to know if it would make sense to add a new type of changelog entry for equal values, so that it s
possible to detect that two structs are almost equals and in which fields, simply ...
mdelapenya
- 2
- Opened on Jun 11, 2023
- #102
in a case where there is a type defined such as
type Set map[string]struct{}
the result of diffing these types always ends up with an empty changelog, even if there are differences on the keys
after ...
aexvir
- Opened on Mar 8, 2023
- #100

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.