Documentation
¶
Overview ¶
Package subject provides the configuration of the commit message subject, including its description and task integration, and the functional options to build the config.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config represents the configuration of the commit message subject.
func (Config) Description ¶
func (c Config) Description() description.Config
Description returns the configuration of the subject description text.
type Option ¶
type Option func(*Config)
Option is a functional option that modifies the subject config on its creation.
func WithDescription ¶
func WithDescription(desc description.Config) Option
WithDescription sets the description configuration for the subject config.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package description provides the configuration of the commit message subject description, including its length interval and the functional options to build the config.
|
Package description provides the configuration of the commit message subject description, including its length interval and the functional options to build the config. |
Click to show internal directories.
Click to hide internal directories.