ran 'make fmt'

Signed-off-by: Andreas Ulm <andreas.ulm@root360.de>
This commit is contained in:
Andreas Ulm 2019-04-28 19:40:50 +02:00
parent 2d39855850
commit 70f6d2cd0f

View File

@ -67,7 +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+"\"")+"\"") 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+"\""))