fix golint issues in core/timex (#517)

This commit is contained in:
Kevin Wan
2021-02-24 16:27:11 +08:00
committed by GitHub
parent 04b0f26182
commit ef146cf5ba
4 changed files with 10 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ func init() {
}
}
// Hostname returns the name of the host, if no hostname, a random id is returned.
func Hostname() string {
return hostname
}