haritsfahreza/libra

[BUG] Better support of struct with private field

haritsfahreza opened this issue · 0 comments

Describe the bug
Unable to compare the struct with a private field, even it's not filled properly.

Expected behavior
It should compare the public field only and might ignore the private field.

Snippet Codes

type Example struct {
    Exposed string //should be compared
    hidden string // should NOT be compared
}