mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-13 19:01:09 -04:00
11 lines
141 B
Go
11 lines
141 B
Go
// +build !linux
|
|
|
|
package sysinfo
|
|
|
|
import "os"
|
|
|
|
// Hostname returns the host name.
|
|
func Hostname() (string, error) {
|
|
return os.Hostname()
|
|
}
|