Documentation ¶ Index ¶ func MachineID(root string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MachineID ¶ func MachineID(root string) string MachineID returns the uuid specified `/etc/machine-id` it first prepends the provided root to the filepath if there is an error reading the file it returns the empty string Types ¶ This section is empty. Source Files ¶ View all Source files machineid.go Click to show internal directories. Click to hide internal directories.