2018-05-27 21:48:57 +02:00
|
|
|
// +build darwin
|
|
|
|
|
|
|
|
package xid
|
|
|
|
|
2018-11-18 18:55:05 +01:00
|
|
|
import "syscall"
|
2018-05-27 21:48:57 +02:00
|
|
|
|
|
|
|
func readPlatformMachineID() (string, error) {
|
2018-11-18 18:55:05 +01:00
|
|
|
return syscall.Sysctl("kern.uuid")
|
2018-05-27 21:48:57 +02:00
|
|
|
}
|