mandate

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mandate

type Mandate struct {
	// Types stores the transport representation
	// of the commit types for which the commit message body is mandatory.
	Types value.Strings `yaml:"types,omitempty"`
}

Mandate is the transport representation of the body mandate config, describing the commit types for which the commit message body is mandatory.

func (Mandate) Config

func (c Mandate) Config() mandate.Config

Config converts the transport representation into the domain mandate config, wiring the commit types into it.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL