Skip to content

Commit 82efd51

Browse files
author
luotao.by24
committed
fix: tagName go into new slice diff instance
1 parent e2707de commit 82efd51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

diff_slice.go

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func (st *sliceTracker) has(s, v reflect.Value, d *Differ) bool {
102102
x := s.Index(i)
103103

104104
var nd Differ
105+
nd.TagName = d.TagName
105106
nd.Filter = d.Filter
106107
nd.customValueDiffers = d.customValueDiffers
107108

0 commit comments

Comments
 (0)