Exporter returns an [Option] that specifies whether [Equal] is allowed to introspect into the unexported fields of certain struct types. Users of this option must understand that comparing on unexported fields from external packages is not safe since changes in the internal implementation of some e
(f func(reflect.Type) bool)
| 414 | // In other cases, the [github.com/google/go-cmp/cmp/cmpopts.IgnoreUnexported] |
| 415 | // option can be used to ignore all unexported fields on specified struct types. |
| 416 | func Exporter(f func(reflect.Type) bool) Option { |
| 417 | return exporter(f) |
| 418 | } |
| 419 | |
| 420 | type exporter func(reflect.Type) bool |
| 421 |
nothing calls this directly
no test coverage detected
searching dependent graphs…