Skip to content

doc: review exported Go APIs in Gorums and benchkit #504

Open

Description

@meling

Goal

Give the public Go APIs of Gorums and benchkit accurate, concise documentation that readers can use from an editor, go doc, or pkg.go.dev.
This is a focused pass over the smaller public surface.

Scope

  • Inventory public packages, package comments, and exported declarations in the root and benchkit modules, including generated Gorums service APIs and public aliases or re-exports.
  • Use the Go doc comment conventions for opening sentences, package summaries, and declaration links. Document the caller's contract where they encounter it.
  • Prioritize guarantees a caller needs to make a decision. Examples include when a one-way call completes, what cancellation affects, when ordering applies, and what a benchkit result measures. Include meaningful limits and errors. Move detailed walkthroughs and internal mechanics to the appropriate guides as needed.
  • Verify the wording against the implementation and targeted tests. Preserve meaningful distinctions between related APIs. Report any unresolved contract discrepancy separately.
  • Change generator or schema inputs for generated comments, then regenerate the affected outputs.

Done when

  • The public package inventory has been reviewed in focused PRs.
  • Changed comments are accurate, readable in Go doc, and use consistent terms. Spot-check rendered links and representative generated client docs.

Go Doc Comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions