Documentation
¶
Overview ¶
Package gitignore builds project gitignore files from selected templates in GitHub's official github/gitignore collection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrOutputExists indicates that Generate would overwrite a file without force. ErrOutputExists = errors.New("output file already exists") // ErrTemplateNotFound indicates that GitHub does not have the requested template. ErrTemplateNotFound = errors.New("gitignore template not found") )
Functions ¶
Types ¶
type TemplateDefinition ¶
TemplateDefinition describes an available template and its accepted names.
func Templates ¶
func Templates() []TemplateDefinition
Templates returns the available templates and their accepted aliases.
Click to show internal directories.
Click to hide internal directories.