config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Types  []string `yaml:"types"`
	Scopes []string `yaml:"scopes,omitempty"`
	Rules  struct {
		RequireScope     bool `yaml:"require_scope"`
		MaxMessageLength int  `yaml:"max_message_length"`
	} `yaml:"rules"`
}

func Load

func Load(path string) (*Config, error)

Jump to

Keyboard shortcuts

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