query.go
func (q Query) String() string {
	s := "GET " + q.table
	if len(q.headers) > 0 {
		s += "\n" + strings.Join(q.headers, "\n")
	}
	s += "\nResponseHeader: fixed16\nOutputFormat: json\n\n"

	return s
}
func (q Query) String() string {
	s := "GET " + q.table
	if len(q.headers) > 0 {
		s += "\n" + strings.Join(q.headers, "\n")
	}
	s += "\nResponseHeader: fixed16\nOutputFormat: json\n\n"

	return s
}
func ( q Query ) String ( ) string { s := " " + q . table if len ( q . headers ) > 0 { s += " \n " + strings . Join ( q . headers , " \n " ) } s += " \n \n \n \n " return s }
// String returns a string representation of the Livestatus query.
String returns a string representation of the Livestatus query .