瀏覽代碼

Do not expose yet feed counter via API

Frédéric Guillot 6 年之前
父節點
當前提交
a96e966911
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      model/feed.go

+ 2 - 2
model/feed.go

@@ -33,8 +33,8 @@ type Feed struct {
 	Category           *Category `json:"category,omitempty"`
 	Category           *Category `json:"category,omitempty"`
 	Entries            Entries   `json:"entries,omitempty"`
 	Entries            Entries   `json:"entries,omitempty"`
 	Icon               *FeedIcon `json:"icon"`
 	Icon               *FeedIcon `json:"icon"`
-	UnreadCount        int
-	ReadCount          int
+	UnreadCount        int       `json:"-"`
+	ReadCount          int       `json:"-"`
 }
 }
 
 
 func (f *Feed) String() string {
 func (f *Feed) String() string {