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