ignore mutexes in json output/input
This commit is contained in:
+2
-2
@@ -25,8 +25,8 @@ type FullData struct {
|
|||||||
Feeds map[string]*Feed `json:"feeds,omitempty"`
|
Feeds map[string]*Feed `json:"feeds,omitempty"`
|
||||||
Pages map[string]*Page `json:"pages,omitempty"`
|
Pages map[string]*Page `json:"pages,omitempty"`
|
||||||
|
|
||||||
FeedsMu *sync.RWMutex
|
FeedsMu *sync.RWMutex `json:"-"`
|
||||||
PagesMu *sync.RWMutex
|
PagesMu *sync.RWMutex `json:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Feed holds all the necessary fields when storing a feed
|
// Feed holds all the necessary fields when storing a feed
|
||||||
|
|||||||
Reference in New Issue
Block a user