Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Fix Go doc-comment association for maxPages and getList

Đang mở
#49 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@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.go
    • maxPages
    • (*Client).getList

Required change

Reorder the declarations so that:

  1. maxPages is immediately preceded by its own // maxPages ... comment.
  2. The // getList ... comment immediately precedes func (c *Client) getList(...).

Acceptance criteria

  • maxPages and getList each have a correctly attached Go doc comment.
  • The change is documentation/declaration ordering only; pagination behaviour remains unchanged.

Backlinks

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Flagsmith/flagsmith-cli

Tất cả issue của Flagsmith/flagsmith-cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.