aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/cache/state.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-22 23:06:39 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2021-02-22 23:06:39 +0100
commitbf5001fe2b4d5417e4419cc2195754371fcef03c (patch)
tree51903344a24ab7b5bec54dd2a70d82cffa507366 /internal/feed/cache/state.go
parent7106d5a6e7585dce5fdd552cca30063dd352dc23 (diff)
downloadfeed2imap-go-bf5001fe2b4d5417e4419cc2195754371fcef03c.tar.gz
feed2imap-go-bf5001fe2b4d5417e4419cc2195754371fcef03c.tar.bz2
feed2imap-go-bf5001fe2b4d5417e4419cc2195754371fcef03c.zip
Improve naming
Diffstat (limited to '')
-rw-r--r--internal/feed/cache/state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/feed/cache/state.go b/internal/feed/cache/state.go
index c2e7de8..1c911d7 100644
--- a/internal/feed/cache/state.go
+++ b/internal/feed/cache/state.go
@@ -43,9 +43,9 @@ func (state *State) LoadCache(fileName string, forceNew bool) error {
)
if forceNew {
- cache, err = newCache()
+ cache, err = create()
} else {
- cache, err = LoadCache(fileName)
+ cache, err = Load(fileName)
}
if err != nil {