config

package
v0.0.0-...-f1c73d2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RCFilename             = ".czrc"
	ReservedDefaultName    = "default"
	FieldKeyTemplateSelect = "template-select"
)
View Source
const DefaultCommitTemplate = `` /* 1170-byte string literal not displayed */

Variables

This section is empty.

Functions

func Load

func Load(data []byte) ([]*templates.Template, error)

func LoadTemplates

func LoadTemplates(file string) ([]*templates.Template, error)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func New

func New() *Config

func (*Config) Run

func (c *Config) Run(opts *options.Options) (*templates.Template, error)

Jump to

Keyboard shortcuts

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