From f7387f8c60d140b8b1c7236dfc2aa8d0471d05e7 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 4 Jul 2019 12:31:27 -0400 Subject: Sort out dirstore once and for all --- lib/dirstore.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/dirstore.go') diff --git a/lib/dirstore.go b/lib/dirstore.go index e7ebb772..862e97a3 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) { -- cgit