Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersions ¶
func DegreeOfDifference ¶
Types ¶
type VersionTree ¶
type VersionTree struct {
Root *Tree
}
VersionTree is a wrapper struct for all functions
func (*VersionTree) AddVersion ¶
func (b *VersionTree) AddVersion(version string, data interface{})
AddVersion allow insterting a data
func (*VersionTree) Walk ¶
func (b *VersionTree) Walk(step func(prev, next *Value, degreeOfDifference int))
Walk lets you iterate over whole data
Click to show internal directories.
Click to hide internal directories.