diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-07-04 12:31:27 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-04 12:31:27 -0400 |
commit | f7387f8c60d140b8b1c7236dfc2aa8d0471d05e7 (patch) | |
tree | a45c783c2e42825f25d79e58135910fee5cf1824 /lib/dirstore.go | |
parent | b12eba55c3cac7e754d1a17c4da4ffa230846af9 (diff) | |
download | aerc-f7387f8c60d140b8b1c7236dfc2aa8d0471d05e7.tar.gz |
Sort out dirstore once and for all
Diffstat (limited to 'lib/dirstore.go')
-rw-r--r-- | lib/dirstore.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/dirstore.go b/lib/dirstore.go index e7ebb77..862e97a 100644 --- a/lib/dirstore.go +++ b/lib/dirstore.go @@ -5,9 +5,7 @@ type DirStore struct { } func NewDirStore() *DirStore { - return &DirStore{ - dirs: make([]string, 0), - } + return &DirStore{} } func (store *DirStore) Update(dirs []string) { |