Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comparator ¶
type Comparator struct {
// contains filtered or unexported fields
}
Comparator - Compares two Schemas and return an instance of SchemaDiff.
func NewComparator ¶
func NewComparator(platform DiffCalcPlatform) *Comparator
NewComparator - The comparator can be only instantiated by a schema manager.
func (*Comparator) CompareSchemas ¶
func (c *Comparator) CompareSchemas(oldSchema, newSchema *assets.Schema) *diff_dtos.SchemaDiff
CompareSchemas - Returns the differences between the schemas.
func (*Comparator) CompareTables ¶
func (c *Comparator) CompareTables(oldTable, newTable *assets.Table) *diff_dtos.TableDiff
CompareTables - Compares the tables and returns the difference between them.
Click to show internal directories.
Click to hide internal directories.