Files
cloud/system/utils.go
T
2025-09-27 04:55:20 +03:00

15 lines
134 B
Go

package system
import (
"os"
)
func getHostname() string {
hn, err := os.Hostname()
if err != nil {
return ""
}
return hn
}