Skip to content

governor: add docstrings (TOB-WORMGUWA-1) #2846

@tbjump

Description

@tbjump

In node/pkg/governor/governor.go:

  1. All top-level, exported names should have doc comments, as should non-trivial unexported type or function declarations. A func’s doc comment should explain what the function returns or, for functions called for side effects, what it does. See https://go.dev/doc/effective_go#commentary for more information about commentary conventions.
  2. Some of the functions seem to not need to be public. Review each function and make it private if it doesn't need to be public to prevent misuse.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions