Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CREATE represents when an element has been added CREATE = "create" // UPDATE represents when an element has been updated UPDATE = "update" // DELETE represents when an element has been removed DELETE = "delete" )
Variables ¶
View Source
var ( // Schema is the standard profile used for comparing schema. Schema = &Profile{} // Final is the standard profile for comparing data. Final = &Profile{ UseDefaults: true, IgnoreDefinitions: true, } )
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { UseDefaults bool IgnoreDefinitions bool IgnoreHiddenFields bool // Ignores optional fields. // An added or removed optional field will not be recorded in the changelog. // However if an optional field is defined as a regular field it will be // recorded like if it was a new regular field. IgnoreOptionalFields bool }
Click to show internal directories.
Click to hide internal directories.