mirror of
https://github.com/documize/community.git
synced 2025-07-24 23:59:47 +02:00
Xid dependency updated. Moved to 20 length ID values. Added new revision number to version and meta information. Revision number is timestamp format.
10 lines
183 B
Go
Executable file
10 lines
183 B
Go
Executable file
// +build linux
|
|
|
|
package xid
|
|
|
|
import "io/ioutil"
|
|
|
|
func readPlatformMachineID() (string, error) {
|
|
b, err := ioutil.ReadFile("/sys/class/dmi/id/product_uuid")
|
|
return string(b), err
|
|
}
|