Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionDiff ¶
VersionDiff represents the difference between two versions
func (*VersionDiff) Direction ¶
func (v *VersionDiff) Direction() string
Direction gets the direction of the version diff as a string
func (*VersionDiff) HasMajorChange ¶
func (v *VersionDiff) HasMajorChange() bool
HasMajorChange checks if the from version is different from the to version
func (*VersionDiff) HasMinorChange ¶
func (v *VersionDiff) HasMinorChange() bool
HasMinorChange checks if the from version is different from the to version
func (*VersionDiff) HasPatchChange ¶
func (v *VersionDiff) HasPatchChange() bool
HasPatchChange checks if the from version is different from the to version
func (*VersionDiff) IsDowngrade ¶
func (v *VersionDiff) IsDowngrade() bool
IsDowngrade checks if the from version is greater than the to version
func (*VersionDiff) IsSameVersion ¶
func (v *VersionDiff) IsSameVersion() bool
IsSameVersion checks if the from and to versions are the same
func (*VersionDiff) IsUpgrade ¶
func (v *VersionDiff) IsUpgrade() bool
IsUpgrade checks if the from version is less than the to version
Click to show internal directories.
Click to hide internal directories.