// Hello is simple method
// It returns greetings contains server hostname and date/time
Hello is simple method
It returns greetings contains server hostname and date/time
// Hello is simple method // It returns greetings contains server hostname and date / time
func Hello() string {
	host, err := os.Hostname()
	if err != nil {
		host = err.Error()
	}
	s := []string{"Hello World from server ", host, "! ",
		"Now is ", time.Now().String(), "! ",
		"Go version ", runtime.Version(), " ", runtime.GOOS, "-", runtime.GOARCH, "!"}
	return strings.Join(s, "")
}
func Hello ( ) string { host , err := os . Hostname ( ) if err != nil { host = err . Error ( ) } s := [ ] string { " " , host , " " , " " , time . Now ( ) . String ( ) , " " , " " , runtime . Version ( ) , " " , runtime . GOOS , " " , runtime . GOARCH , " " } return strings . Join ( s , " " ) }
Hello is simple method
It returns greetings contains server hostname and date/time
Hello is simple method It returns greetings contains server hostname and date / time