4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-06 10:44:04 +00:00

Add vendor github.com/rs/xid

This commit is contained in:
Wim
2018-05-27 21:48:57 +02:00
parent ab1670e2ce
commit fc6074ea9f
8 changed files with 464 additions and 0 deletions

10
vendor/github.com/rs/xid/hostid_linux.go generated vendored Normal file
View File

@ -0,0 +1,10 @@
// +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
}