this repo has no description

feat: type Limit as int

Changed files
+3 -3
cmd
feedweb
pkg
feeds
mostliked
+1 -1
cmd/feedweb/main.go
··· 13 13 14 14 type SkeletonRequest struct { 15 15 Feed string `query:"feed"` 16 - Limit int64 `query:"limit"` 16 + Limit int `query:"limit"` 17 17 Cursor string `query:"cursor"` 18 18 } 19 19
+1 -1
pkg/feeds/feeds.go
··· 6 6 7 7 type FeedgenParams struct { 8 8 Feed string 9 - Limit int64 9 + Limit int 10 10 Cursor string 11 11 Langs []language.Tag 12 12 }
+1 -1
pkg/mostliked/generator.go
··· 80 80 Feed: posts, 81 81 } 82 82 83 - if len(rows) == int(params.Limit) { 83 + if len(rows) == params.Limit { 84 84 skeleton.Cursor = &cursor 85 85 } 86 86