shared/version/version.go
func (v *DottedVersion) String() string {
	version := fmt.Sprintf("%d.%d", v.Major, v.Minor)
	if v.Patch != -1 {
		version += fmt.Sprintf(".%d", v.Patch)
	}
	return version
}
func (v *DottedVersion) String() string {
	version := fmt.Sprintf("%d.%d", v.Major, v.Minor)
	if v.Patch != -1 {
		version += fmt.Sprintf(".%d", v.Patch)
	}
	return version
}
func ( v * DottedVersion ) String ( ) string { version := fmt . Sprintf ( " " , v . Major , v . Minor ) if v . Patch != - 1 { version += fmt . Sprintf ( " " , v . Patch ) } return version }
// String returns version as a string
String returns version as a string