command.go
func (c Command) String() string {
	s := fmt.Sprintf("COMMAND [%d] %s", time.Now().Unix(), c.name)
	if len(c.args) > 0 {
		s += ";" + strings.Join(c.args, ";")
	}
	s += "\n\n"

	return s
}
func (c Command) String() string {
	s := fmt.Sprintf("COMMAND [%d] %s", time.Now().Unix(), c.name)
	if len(c.args) > 0 {
		s += ";" + strings.Join(c.args, ";")
	}
	s += "\n\n"

	return s
}
func ( c Command ) String ( ) string { s := fmt . Sprintf ( " " , time . Now ( ) . Unix ( ) , c . name ) if len ( c . args ) > 0 { s += " " + strings . Join ( c . args , " " ) } s += " \n \n " return s }
// String returns a string representation of the Livestatus command.
String returns a string representation of the Livestatus command .