subject

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subject

type Subject struct {
	// Desc stores the transport representation
	// of the subject description config.
	Desc description.Description `yaml:"description,omitempty"`

	// Task stores the transport representation
	// of the task integration pattern.
	Task task.Task `yaml:"task,omitempty"`
}

Subject is the transport representation of the commit message subject config.

Subject groups the subject description and the task integration pattern and converts them into the domain subject config consumed by the linter.

func (Subject) Config

func (s Subject) Config() subject.Config

Config converts the transport representation into the domain subject config.

Directories

Path Synopsis
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