added missing header for *SV types

Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
Andreas Ulm 2019-04-28 19:33:30 +02:00
parent 0cd7ba04b8
commit 2d39855850

View File

@ -67,6 +67,7 @@ func OutputDsv(headers []string, values [][]string, delimiterOpt ...string) {
if len(delimiterOpt) > 0 { if len(delimiterOpt) > 0 {
delimiter = delimiterOpt[0] delimiter = delimiterOpt[0]
} }
fmt.Println("\""+strings.Join(headers, "\""+delimiter+"\"")+"\"")
for _, value := range values { for _, value := range values {
fmt.Printf("\"") fmt.Printf("\"")
fmt.Printf(strings.Join(value, "\""+delimiter+"\"")) fmt.Printf(strings.Join(value, "\""+delimiter+"\""))