docs(activity): add godoc for FetchActivityEvents and AggregateActivityByDay #343

Merged
fuzzy merged 1 commit from docs/296-fetcher-godoc into main 2026-07-08 07:56:12 +00:00
Owner

What

Add godoc comments to two exported fetcher functions:

  • FetchActivityEvents — pagination (PageSize=50, max 500), since parameter, returns aggregated daily data
  • AggregateActivityByDay — recognized OpTypes, deletions not populated, UTC normalization

Why

Exported functions lacked documentation. Callers need to understand API constraints and aggregation behavior.

Testing

  • go build passes
  • go test -race -short ./... passes
  • golangci-lint passes

Closes #296

## What Add godoc comments to two exported fetcher functions: - `FetchActivityEvents` — pagination (PageSize=50, max 500), since parameter, returns aggregated daily data - `AggregateActivityByDay` — recognized OpTypes, deletions not populated, UTC normalization ## Why Exported functions lacked documentation. Callers need to understand API constraints and aggregation behavior. ## Testing - [x] go build passes - [x] go test -race -short ./... passes - [x] golangci-lint passes Closes #296
docs(activity): add godoc for FetchActivityEvents and AggregateActivityByDay
All checks were successful
Test and Release / lint (pull_request) Successful in 29s
Test and Release / test (pull_request) Successful in 42s
124d405c10
- FetchActivityEvents: pagination (PageSize=50, max 500), since parameter
- AggregateActivityByDay: recognized OpTypes, deletions not populated, UTC normalization
fuzzy added this to the Steeper project 2026-07-08 07:55:41 +00:00
fuzzy self-assigned this 2026-07-08 07:55:43 +00:00
fuzzy scheduled this pull request to auto merge when all checks succeed 2026-07-08 07:55:46 +00:00
fuzzy merged commit 124d405c10 into main 2026-07-08 07:56:12 +00:00
fuzzy deleted branch docs/296-fetcher-godoc 2026-07-08 07:56:13 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/steeper!343
No description provided.