summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-03-18 11:41:13 -0600
committernytpu <alex@nytpu.com>2021-03-18 11:41:13 -0600
commite9ade7f33f25c6771dd38e1a08c9b0b30868419b (patch)
treed0980d976adbfe1d4aae71a85ed64390056be707
parent7d0600f5f0eac834ca7d964d6cd6b46b89d54d79 (diff)
ignore mutexes in json output/input
-rw-r--r--core/structs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/structs.go b/core/structs.go
index 49c8ee6..dc22087 100644
--- a/core/structs.go
+++ b/core/structs.go
@@ -25,8 +25,8 @@ type FullData struct {
Feeds map[string]*Feed `json:"feeds,omitempty"`
Pages map[string]*Page `json:"pages,omitempty"`
- FeedsMu *sync.RWMutex
- PagesMu *sync.RWMutex
+ FeedsMu *sync.RWMutex `json:"-"`
+ PagesMu *sync.RWMutex `json:"-"`
}
// Feed holds all the necessary fields when storing a feed