Machine UUID, port of github.com/mhzed/machine-uuid
go get -v github.com/codeskyblue/muuid
package main
import "github.com/codeskyblue/muuid"
func main(){
println(muuid.UUID()) // same as muuid.UUIDFromOS(runtime.GOOS)
// Generate UUID and put to ~/.muid
// Not read from /var/lib/dbus/machine-id, for RPi image matchine-id are all the same.
println(muuid.UUIDFromOS("raspberry"))
}