faas/watchdog/version.go
Alex Ellis 7db8ad1bda Update README files
- Removes use of "our" from CONTRIBUTING guide
- Updates/adds README.md files
- Commnents and typo fix in watchdog
- Adds good/bad examples of commit messages

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-10-03 14:07:41 +01:00

19 lines
358 B
Go

package main
var (
// Version release version of the watchdog
Version string
// GitCommit SHA of the last git commit
GitCommit string
// DevVersion string for the development version
DevVersion = "dev"
)
// BuildVersion returns current version of watchdog
func BuildVersion() string {
if len(Version) == 0 {
return DevVersion
}
return Version
}