diff options
| author | nytpu <alex@nytpu.com> | 2021-03-18 11:41:13 -0600 |
|---|---|---|
| committer | nytpu <alex@nytpu.com> | 2021-03-18 11:41:13 -0600 |
| commit | e9ade7f33f25c6771dd38e1a08c9b0b30868419b (patch) | |
| tree | d0980d976adbfe1d4aae71a85ed64390056be707 /core/structs.go | |
| parent | 7d0600f5f0eac834ca7d964d6cd6b46b89d54d79 (diff) | |
ignore mutexes in json output/input
Diffstat (limited to 'core/structs.go')
| -rw-r--r-- | core/structs.go | 4 |
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 |
