diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-08-22 14:26:29 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-08-22 15:18:33 +0200 |
commit | 8f3a9f1e2f0c9e066d2e3894b9fc2d054d2f148e (patch) | |
tree | 520d24514b66022dbcce3c804adec6d41f038565 /internal/feed/state.go | |
parent | eb2b7b872bf70343e6f15c8cbd6ed0fc3e6bfaa7 (diff) | |
download | feed2imap-go-8f3a9f1e2f0c9e066d2e3894b9fc2d054d2f148e.tar.gz feed2imap-go-8f3a9f1e2f0c9e066d2e3894b9fc2d054d2f148e.tar.bz2 feed2imap-go-8f3a9f1e2f0c9e066d2e3894b9fc2d054d2f148e.zip |
Lock cache
Diffstat (limited to 'internal/feed/state.go')
-rw-r--r-- | internal/feed/state.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/feed/state.go b/internal/feed/state.go index dae0917..f2eff72 100644 --- a/internal/feed/state.go +++ b/internal/feed/state.go @@ -154,7 +154,7 @@ func (state *State) Filter() { func NewState(cfg *config.Config) (*State, error) { state := State{ feeds: map[string]*Feed{}, - cache: nil, // loaded later on + cache: Cache{}, // loaded later on cfg: cfg, } |