Fix Go doc-comment association for maxPages and getList
@khvn26 đang làm issue này rồi.
Từ ngày 28/7/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Summary
Move the maxPages constant and its documentation above the getList doc comment in internal/api/client.go.
Rationale
The current declaration is positioned between the getList documentation and the function. As a result, Go documentation associates the trailing paragraph with maxPages, while getList no longer has a correctly attached doc comment.
Affected area
internal/api/client.gomaxPages(*Client).getList
Required change
Reorder the declarations so that:
maxPagesis immediately preceded by its own// maxPages ...comment.- The
// getList ...comment immediately precedesfunc (c *Client) getList(...).
Acceptance criteria
maxPagesandgetListeach have a correctly attached Go doc comment.- The change is documentation/declaration ordering only; pagination behaviour remains unchanged.
Backlinks
- Deferred from PR #43: https://github.com/Flagsmith/flagsmith-cli/pull/43
- Review comment: https://github.com/Flagsmith/flagsmith-cli/pull/43#discussion_r3666673361
- Requested by: @khvn26
- Ngôn ngữ chính
- Go
- Star
- 12
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Flagsmith/flagsmith-cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Flagsmith/flagsmith-cli#64 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Flagsmith/flagsmith-cli#107 ·
-
Spike: CLI-side telemetryĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Flagsmith/flagsmith-cli#95 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Flagsmith/flagsmith-cli#93 ·
-
Dependency DashboardĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
Flagsmith/flagsmith-cli#90 ·
Tất cả issue của Flagsmith/flagsmith-cli
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
resend/resend-skills#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
cloudnativelabs/kube-router#2189 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🕷️ bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
sysadminsmedia/homebox#1770 ·
Maintainer thường phản hồi trong vòng 2 ngày