From 7f027b08ed1d61d5a72f2c7976705c5c6872fb10 Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Thu, 25 Aug 2022 17:07:37 +0200 Subject: [PATCH] removed useless newline --- table_header.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/table_header.go b/table_header.go index a2ca853..6322c48 100644 --- a/table_header.go +++ b/table_header.go @@ -31,5 +31,7 @@ func FormatHeaderTable(header string, table *Table) string { b.WriteString(s) b.WriteRune('\n') }) - return b.String() + + ret := b.String() + return ret[:len(ret)-1] }