Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct { ChangeType ChangeType `json:"change_type"` JsonPath []string `json:"json_path"` From any `json:"from"` To any `json:"to"` }
type ChangeType ¶
type ChangeType int
const ( ChangeTypeNotSet ChangeType = iota ChangeTypeCreate ChangeTypeUpdate ChangeTypeDelete ChangeTypeSchema )
func (ChangeType) MarshalText ¶
func (ct ChangeType) MarshalText() ([]byte, error)
func (ChangeType) String ¶
func (ct ChangeType) String() string
func (*ChangeType) UnmarshalText ¶
func (ct *ChangeType) UnmarshalText(text []byte) error
type JsonDiffer ¶
type JsonDiffer struct { MissingEqualZero bool NullEqualZero bool // contains filtered or unexported fields }
func NewJsonDiffer ¶
func NewJsonDiffer() *JsonDiffer
func (*JsonDiffer) JsonDiffStr ¶
func (jd *JsonDiffer) JsonDiffStr(src, dst string) ([]Change, error)
Click to show internal directories.
Click to hide internal directories.