prompt

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CodeReviewTemplate         = "code_review_file_diff.tmpl"
	SummarizeFileDiffTemplate  = "summarize_file_diff.tmpl"
	SummarizeTitleTemplate     = "summarize_title.tmpl"
	ConventionalCommitTemplate = "conventional_commit.tmpl"
	TranslationTemplate        = "translation.tmpl"
	SummarizePrefixKey         = "summarize_prefix"
	SummarizeTitleKey          = "summarize_title"
	SummarizeMessageKey        = "summarize_message"
)

Template file names

View Source
const DefaultLanguage = "English"

Variables

This section is empty.

Functions

func GetLanguage

func GetLanguage(langCode string) string

GetLanguage returns the language name for the given language code, or the default language if the code is not recognized.

Types

This section is empty.

Jump to

Keyboard shortcuts

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