diff options
author | siddharth <s@ricketyspace.net> | 2021-11-29 21:12:39 -0500 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-11-29 21:12:39 -0500 |
commit | e45715e188255f03107187eb9af103d7b81c9a06 (patch) | |
tree | d4fe2cde62af102b97235116b92709e00cc39ed1 | |
parent | c5c2fe7cf412e6203dc30f0268fa5566669ea287 (diff) |
state: update ProcessState
Remove unused fields -- YDLPath and DumpDir.
-rw-r--r-- | fern.go | 2 | ||||
-rw-r--r-- | state/state.go | 2 |
2 files changed, 0 insertions, 4 deletions
@@ -25,8 +25,6 @@ func init() { } pState = state.NewProcessState() - pState.YDLPath = fConf.YDLPath - pState.DumpDir = fConf.DumpDir // Open database. pState.DB, err = db.Open() diff --git a/state/state.go b/state/state.go index 9547673..b8a48d4 100644 --- a/state/state.go +++ b/state/state.go @@ -20,8 +20,6 @@ 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 |