/
View dependency graph
Depends on
- dh-golang (dh-golang)
- golang-defaults (golang-any)
- debhelper-compat
README (full)
Go package with improved reflect.DeepEqual
Most of the code is copied from Go reflect package with slight modifications.
Differences from reflect.DeepEqual:
- If compared value implements
.Equal(valueOfSameType) boolmethod then it will be called instead of comparing values as is. - If called
Equalmethod will panics then whole DeepEqual will panics too.
This means you can use this DeepEqual method to correctly compare types like time.Time or decimal.Decimal, without taking in account unimportant differences (like time zone or exponent).
| dir | .github/ |
| dir | debian/ |
| file | .editorconfig |
| file | .gitattributes |
| file | .gitignore |
| file | .golangci.yml |
| file | CHANGELOG.md |
| file | LICENSE |
| file | LICENSE-go |
| file | README.md |
| file | all_test.go |
| file | custom.go |
| file | custom_test.go |
| file | deepequal.go |
| file | go.mod |
| file | mise.lock |
| file | mise.toml |
| file | type.go |
| file | unsafe_test.go |
| file | value.go |