aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-12 09:50:46 -0400
committerDrew DeVault <sir@cmpwn.com>2018-06-12 09:50:46 -0400
commit1265d9cff8ea2ceaaa3a0202ddbd8681357bc043 (patch)
tree69545722ba5bea58b041fd8a54f08cd58c7faff8 /widgets
parent67d14977fa91a56509d8ddde54607b4b7811d3fe (diff)
Apply gofmt
Diffstat (limited to 'widgets')
-rw-r--r--widgets/aerc.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index cc93d92..53f53f7 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -22,11 +22,11 @@ func NewAerc(logger *log.Logger) *Aerc {
tabs := libui.NewTabs()
mainGrid := libui.NewGrid().Rows([]libui.GridSpec{
- libui.GridSpec{libui.SIZE_EXACT, 1},
- libui.GridSpec{libui.SIZE_WEIGHT, 1},
+ {libui.SIZE_EXACT, 1},
+ {libui.SIZE_WEIGHT, 1},
}).Columns([]libui.GridSpec{
- libui.GridSpec{libui.SIZE_EXACT, 20},
- libui.GridSpec{libui.SIZE_WEIGHT, 1},
+ {libui.SIZE_EXACT, 20},
+ {libui.SIZE_WEIGHT, 1},
})
statusbar := libui.NewStack()
@@ -42,11 +42,11 @@ func NewAerc(logger *log.Logger) *Aerc {
acctPlaceholder := func(sidebar, body rune, name string) {
accountGrid := libui.NewGrid().Rows([]libui.GridSpec{
- libui.GridSpec{libui.SIZE_WEIGHT, 1},
- libui.GridSpec{libui.SIZE_EXACT, 1},
+ {libui.SIZE_WEIGHT, 1},
+ {libui.SIZE_EXACT, 1},
}).Columns([]libui.GridSpec{
- libui.GridSpec{libui.SIZE_EXACT, 20},
- libui.GridSpec{libui.SIZE_WEIGHT, 1},
+ {libui.SIZE_EXACT, 20},
+ {libui.SIZE_WEIGHT, 1},
})
// Sidebar placeholder
accountGrid.AddChild(libui.NewBordered(