Documentation
¶
Overview ¶
Package body provides the transport structures used to unmarshal the commit message body configuration from config files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct {
// Mandate stores the transport representation
// of the body mandate config,
// i.e. the commit types for which the body is mandatory.
Mandate mandate.Mandate `yaml:"mandate,omitempty"`
// Length stores the transport representation
// of the allowed body length interval.
Length value.Range `yaml:"length,omitempty"`
}
Body is the transport representation of the commit message body config.
Body groups the body mandate and the allowed body length and converts them into the domain body config consumed by the linter.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mandate provides the transport structures used to unmarshal the commit message body mandate configuration from config files, describing the commit types for which the commit message body is mandatory.
|
Package mandate provides the transport structures used to unmarshal the commit message body mandate configuration from config files, describing the commit types for which the commit message body is mandatory. |
Click to show internal directories.
Click to hide internal directories.