mirror of
https://github.com/nkanaev/yarr.git
synced 2026-07-15 11:06:31 +00:00
go fmt
This commit is contained in:
@@ -44,7 +44,6 @@ const (
|
||||
STARRED ItemStatus = 2
|
||||
)
|
||||
|
||||
|
||||
var StatusRepresentations = map[ItemStatus]string{
|
||||
UNREAD: "unread",
|
||||
READ: "read",
|
||||
@@ -120,7 +119,6 @@ type FeedStat struct {
|
||||
StarredCount int64 `json:"starred"`
|
||||
}
|
||||
|
||||
|
||||
type Settings struct {
|
||||
Filter string `json:"filter"`
|
||||
Feed string `json:"feed"`
|
||||
|
||||
@@ -255,7 +255,7 @@ func BenchmarkMarkItemsRead_ByFolder(b *testing.B) {
|
||||
FeedLink: fmt.Sprintf("http://f%d.xml", k),
|
||||
FolderID: &folder.Id,
|
||||
})
|
||||
for i := 0; i < 1_000_000 / 5; i++ {
|
||||
for i := 0; i < 1_000_000/5; i++ {
|
||||
all = append(all, model.Item{
|
||||
GUID: fmt.Sprintf("f%d-i%d", k, i),
|
||||
FeedId: feed.Id,
|
||||
|
||||
Reference in New Issue
Block a user