Tools written in Go for interfacing with Xiaomi Flora sensors for IoT use cases.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
miflorad/cmd/miflorad/version.go

12 lines
175 B

package main
// program version, will be populated on build
var version string
func getVersion() string {
if version == "" {
return "dev"
} else {
return version
}
}