ignore mutexes in json output/input

This commit is contained in:
nytpu
2021-03-18 11:41:13 -06:00
parent 7d0600f5f0
commit e9ade7f33f
+2 -2
View File
@@ -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