Checks for configuration that dioad services, libraries and plugins load:
configcheck decodes configuration strictly, rejecting keys that match no
field, with the same decode hooks the dioad/cli loader uses, and reports
every problem as a finding with the path of the field it concerns.
It depends only on the standard library, mapstructure and dioad/util, so a
library or plugin can check configuration without importing a CLI framework.
Package configcheck reports configuration problems as findings, each with the path of the field it concerns, so a command can report every problem in a configuration at once instead of stopping at the first.
Package configcheck reports configuration problems as findings, each with the path of the field it concerns, so a command can report every problem in a configuration at once instead of stopping at the first.
Click to show internal directories.
Click to hide internal directories.
go.dev uses cookies from Google to deliver and enhance the quality of its services and to
analyze traffic. Learn more.