From e9ade7f33f25c6771dd38e1a08c9b0b30868419b Mon Sep 17 00:00:00 2001 From: nytpu Date: Thu, 18 Mar 2021 11:41:13 -0600 Subject: [PATCH] ignore mutexes in json output/input --- core/structs.go | 4 ++-- 1 file 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