Skip to content

docs(pkg): add package-level godoc comments#233

Open
Redamency wants to merge 1 commit into
ccfos:mainfrom
Redamency:docs/pkg-package-comments
Open

docs(pkg): add package-level godoc comments#233
Redamency wants to merge 1 commit into
ccfos:mainfrom
Redamency:docs/pkg-package-comments

Conversation

@Redamency

Copy link
Copy Markdown
Contributor

What

Add package-level godoc comments to four pkg/ packages that previously had none:

  • pkg/metric — collector framework and Prometheus integration
  • pkg/metric/runtime — process and Go runtime collector registration
  • pkg/tracing — tracer scheduling and watch-event delivery
  • pkg/types — shared public types and sentinel errors

Why

These are the public-facing packages of the project. A short package overview is what go doc <pkg> and pkg.go.dev display first, so adding it improves discoverability for new contributors and external users without changing any code or behavior.

Notes

  • Documentation only; no code or behavior changes.
  • DCO signed off.

Add package documentation to four pkg/ packages that previously lacked
package-level godoc comments. These are the public-facing packages of
the project and benefit from a short overview shown by `go doc` and
pkg.go.dev:

  - pkg/metric           collector framework / Prometheus integration
  - pkg/metric/runtime   process and Go runtime collector registration
  - pkg/tracing          tracer scheduling and watch-event delivery
  - pkg/types            shared public types and sentinel errors

No code or behavior changes.

Signed-off-by: Redamency <1683209437@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant