From e45715e188255f03107187eb9af103d7b81c9a06 Mon Sep 17 00:00:00 2001 From: siddharth Date: Mon, 29 Nov 2021 21:12:39 -0500 Subject: state: update ProcessState Remove unused fields -- YDLPath and DumpDir. --- fern.go | 2 -- state/state.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/fern.go b/fern.go index 5f766fd..8735d61 100644 --- a/fern.go +++ b/fern.go @@ -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 -- cgit v1.2.3