Skip to content

Commit

Permalink
chore(fmt): following gofmt suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Thomazi Bonicontro committed Aug 29, 2018
1 parent 88e278a commit 05b1586
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/n26/n26.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func main() {
} else {
available := strconv.FormatFloat(balance.AvailableBalance, 'f', -1, 64)
usable := strconv.FormatFloat(balance.UsableBalance, 'f', -1, 64)
data := [][]string{[]string{balance.IBAN, balance.BIC, available, usable}}
data := [][]string{{balance.IBAN, balance.BIC, available, usable}}
NewTableWriter().WriteData([]string{"IBAN", "BIC", "Available Balance", "Usable Balance"}, data)
}
return nil
Expand All @@ -85,7 +85,7 @@ func main() {
if prettyJSON != "" {
fmt.Println(prettyJSON)
} else {
data := [][]string{[]string{fmt.Sprintf("%s %s", info.FirstName, info.LastName), info.Email, info.MobilePhoneNumber}}
data := [][]string{{fmt.Sprintf("%s %s", info.FirstName, info.LastName), info.Email, info.MobilePhoneNumber}}
NewTableWriter().WriteData([]string{"Full Name", "Email", "Mobile Phone Number"}, data)
}
return nil
Expand All @@ -102,7 +102,7 @@ func main() {
fmt.Println(prettyJSON)
} else {
data := [][]string{
[]string{
{
time.Unix(status.Created, 0).String(),
},
}
Expand Down

0 comments on commit 05b1586

Please sign in to comment.