docs(activity): add godoc for HasHighActivity and HighActivityDays #333
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/steeper!333
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/318-high-activity-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Add godoc comments to two exported methods on
View:HasHighActivity— reports whether any day exceeded the high-activity thresholdHighActivityDays— returns date strings of days with the high-activity flagWhy
These exported symbols lacked documentation. Godoc helps consumers understand when the status line renders warnings and how to retrieve the affected dates.
Testing
go vet ./...passesgo test -race -short ./...passesCloses #318
Review
Result: Approved — no issues. Closes #318.
5 lines of godoc added to
HasHighActivityandHighActivityDays. No functional change. Builds and tests pass.