hostid_darwin.go 134 B

123456789
  1. // +build darwin
  2. package xid
  3. import "syscall"
  4. func readPlatformMachineID() (string, error) {
  5. return syscall.Sysctl("kern.uuid")
  6. }