diff options
author | siddharth <s@ricketyspace.net> | 2021-11-28 21:51:42 -0500 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-11-28 21:51:42 -0500 |
commit | b1478c8b4f54aa4ff9f35ffcc3671a8fcd581d35 (patch) | |
tree | c58a98d0ce93bd318da6aaeb63f72cdf6d204132 /state/state.go | |
parent | acc280fbbdee818c94b12cc4382266dbb734e8b5 (diff) |
state: add ProcessState.DB
Diffstat (limited to 'state/state.go')
-rw-r--r-- | state/state.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/state/state.go b/state/state.go index 4bfbf39..9547673 100644 --- a/state/state.go +++ b/state/state.go @@ -3,6 +3,8 @@ package state +import "ricketyspace.net/fern/db" + // Contains the result of processing a Feed. type FeedResult struct { FeedId string // Feed's identifier @@ -20,6 +22,7 @@ type EntryResult struct { type ProcessState struct { YDLPath string DumpDir string + DB *db.FernDB // Channel for Feed.Process goroutines to communicate to the // caller about the number of entries that are being // downloaded for a feed. |