func PrettyVersion(revision, version, versionPrerelease string) string {
	var versionString bytes.Buffer

	fmt.Fprintf(&versionString, "Nomad v%s", version)
	if versionPrerelease != "" {
		fmt.Fprintf(&versionString, "-%s", versionPrerelease)

		if revision != "" {
			fmt.Fprintf(&versionString, " (%s)", revision)
		}
	}

	return versionString.String()
}
// PrettyVersion takes the version parts and formats it in a human readable
// string.
PrettyVersion takes the version parts and formats it in a human readable
string.
// PrettyVersion takes the version parts and formats it in a human readable // string .
func PrettyVersion(revision, version, versionPrerelease string) string {
	var versionString bytes.Buffer
	fmt.Fprintf(&versionString, "Nomad v%s", version)
	if versionPrerelease != "" {
		fmt.Fprintf(&versionString, "-%s", versionPrerelease)
		if revision != "" {
			fmt.Fprintf(&versionString, " (%s)", revision)
		}
	}
	return versionString.String()
}
func PrettyVersion ( revision , version , versionPrerelease string ) string { var versionString bytes . Buffer fmt . Fprintf ( & versionString , " " , version ) if versionPrerelease != " " { fmt . Fprintf ( & versionString , " " , versionPrerelease ) if revision != " " { fmt . Fprintf ( & versionString , " " , revision ) } } return versionString . String ( ) }
PrettyVersion takes the version parts and formats it in a human readable
string.
PrettyVersion takes the version parts and formats it in a human readable string .