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:
9
vendor/github.com/rs/xid/hostid_freebsd.go
generated
vendored
Normal file
9
vendor/github.com/rs/xid/hostid_freebsd.go
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
// +build freebsd
|
||||
|
||||
package xid
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
func readPlatformMachineID() (string, error) {
|
||||
return unix.Sysctl("kern.hostuuid")
|
||||
}
|
Reference in New Issue
Block a user