Comments (1)
Thanks for raising the issue.
I've implemented the changes you suggested on the private-field-support
branch. Would you please be able to test and see if it behaves as you expect?
One thing to note, calling a.Int()
always returns an int64
, regardless of whether the underling type is an int
, int32
, int16
, etc.
Therefore, in order to prevent unexpected changes for other users, it only calls a.Int()
as a fallback if the field is private.
from diff.
Related Issues (20)
- no differences reported for maps where values are empty structs
- Support for adding equal values for a changelog HOT 2
- Question on performance
- Bug: Nil slice == empty slices when diffing
- Patching a nil *int?
- Type lost in serialization HOT 3
- call of reflect.Value.Type on zero Value HOT 1
- Show entire struct data in From/To even though it's only partially updated HOT 3
- net.IP comparable as String. HOT 2
- option for ignoring unexported fields HOT 3
- Patch failing for byte slices when patching onto struct with nil destination
- Patching slice back to empty slice returns patchLog.Applied() to be false
- Changelog Serialization - Interface issue HOT 1
- EOL pkg found in go mod HOT 1
- Append/Update only HOT 1
- TestDiff/mixed-slice-map fails randomly HOT 1
- Obscure Tag
- Go language version is very old.
- When Bool type = false, is missing from Type:create
- Bug: embeded structs diffs are not detected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diff.