tangled
alpha
login
or
join now
edavis.dev
/
bsky-feeds
1
fork
atom
this repo has no description
1
fork
atom
overview
issues
pulls
pipelines
feat: type Limit as int
Eric Davis
1 year ago
df097057
3177fc54
+3
-3
3 changed files
expand all
collapse all
unified
split
cmd
feedweb
main.go
pkg
feeds
feeds.go
mostliked
generator.go
+1
-1
cmd/feedweb/main.go
···
13
13
14
14
type SkeletonRequest struct {
15
15
Feed string `query:"feed"`
16
16
-
Limit int64 `query:"limit"`
16
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
9
-
Limit int64
9
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
83
-
if len(rows) == int(params.Limit) {
83
83
+
if len(rows) == params.Limit {
84
84
skeleton.Cursor = &cursor
85
85
}
86
86