Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiffResult ¶
type DiffResult struct {
Fields []FieldInfo
}
func Diff ¶
func Diff(o, n interface{}) (res DiffResult, err error)
Diff will compare the `old` and `new` one then return diff result.Call DiffResult.Display function will return display map with new filed json value.
Click to show internal directories.
Click to hide internal directories.