message

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: 3 Imported by: 0

Documentation

Overview

Package message provides the transport structures used to unmarshal the commit message configuration from config files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	// Subj stores the transport representation
	// of the commit message subject config.
	Subj subject.Subject `yaml:"subject,omitempty"`

	// Body stores the transport representation
	// of the commit message body config.
	Body body.Body `yaml:"body,omitempty"`
}

Message is the transport representation of the commit message config.

Message groups the subject and body of a commit message and converts them into domain message config consumed by the linter.

func (Message) Config

func (c Message) Config() message.Config

Config converts the transport representation into domain message config, wiring the subject and body representations into it.

Directories

Path Synopsis
Package body provides the transport structures used to unmarshal the commit message body configuration from config files.
Package body provides the transport structures used to unmarshal the commit message body configuration from config files.
mandate
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.
Package subject provides the transport structures used to unmarshal the commit message subject configuration from config files.
Package subject provides the transport structures used to unmarshal the commit message subject configuration from config files.
description
Package description provides the transport structures used to unmarshal the commit message subject description configuration from config files.
Package description provides the transport structures used to unmarshal the commit message subject description configuration from config files.

Jump to

Keyboard shortcuts

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