template

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractIDs

func ExtractIDs(path string) ([]string, error)

ExtractIDs returns the IDs of coauthors referenced in the git commit template file.

func WriteFile

func WriteFile(path string, t Template) error

WriteFile saves and registers the git commit template

Types

type Template

type Template struct {
	Coauthors []manifest.Coauthor
}

Template is a git commit template containing a list of coauthors

Jump to

Keyboard shortcuts

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